Home
last modified time | relevance | path

Searched refs:dopt (Results 1 – 2 of 2) sorted by relevance

/include/net/
Dtcp.h2132 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local
2135 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options()
2137 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options()
2138 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options()
2139 kfree(dopt); in tcp_v4_save_options()
2140 dopt = NULL; in tcp_v4_save_options()
2143 return dopt; in tcp_v4_save_options()
Dip.h723 int __ip_options_echo(struct net *net, struct ip_options *dopt,
725 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() argument
728 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()