Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance
1816 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local1819 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options()1821 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options()1822 if (dopt && __ip_options_echo(&dopt->opt, skb, opt)) { in tcp_v4_save_options()1823 kfree(dopt); in tcp_v4_save_options()1824 dopt = NULL; in tcp_v4_save_options()1827 return dopt; in tcp_v4_save_options()
547 int __ip_options_echo(struct ip_options *dopt, struct sk_buff *skb,549 static inline int ip_options_echo(struct ip_options *dopt, struct sk_buff *skb) in ip_options_echo() argument551 return __ip_options_echo(dopt, skb, &IPCB(skb)->opt); in ip_options_echo()