Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance
/linux/include/net/ |
H A D | tcp.h | 2488 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local 2491 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() 2493 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options() 2494 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options() 2495 kfree(dopt); in tcp_v4_save_options() 2496 dopt = NULL; in tcp_v4_save_options() 2499 return dopt; in tcp_v4_save_options()
|
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()
|