Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance
/include/net/ |
D | tcp.h | 2041 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local 2044 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() 2046 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options() 2047 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options() 2048 kfree(dopt); in tcp_v4_save_options() 2049 dopt = NULL; in tcp_v4_save_options() 2052 return dopt; in tcp_v4_save_options()
|
D | ip.h | 712 int __ip_options_echo(struct net *net, struct ip_options *dopt, 714 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() argument 717 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
|