Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance
| /linux/include/net/ |
| H A D | ip.h | 775 int __ip_options_echo(struct net *net, struct ip_options *dopt, 777 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() argument 780 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
|
| H A D | tcp.h | 2644 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local 2647 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() 2649 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options() 2650 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options() 2651 kfree(dopt); in tcp_v4_save_options() 2652 dopt = NULL; in tcp_v4_save_options() 2655 return dopt; in tcp_v4_save_options()
|