Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance
| /linux/include/net/ |
| H A D | ip.h | 767 int __ip_options_echo(struct net *net, struct ip_options *dopt, 769 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() argument 772 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
|
| H A D | tcp.h | 2726 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local 2729 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() 2731 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options() 2732 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options() 2733 kfree(dopt); in tcp_v4_save_options() 2734 dopt = NULL; in tcp_v4_save_options() 2737 return dopt; in tcp_v4_save_options()
|