Searched refs:dopt (Results 1 - 3 of 3) sorted by relevance
/linux-master/net/ipv4/ |
H A D | ip_options.c | 70 * build in dopt compiled option set appropriate for answering. 74 * NOTE: dopt cannot point to skb. 77 int __ip_options_echo(struct net *net, struct ip_options *dopt, argument 84 memset(dopt, 0, sizeof(struct ip_options)); 90 dptr = dopt->__data; 95 dopt->rr = dopt->optlen + sizeof(struct iphdr); 101 dopt->rr_needaddr = 1; 104 dopt->optlen += optlen; 109 dopt [all...] |
/linux-master/include/net/ |
H A D | tcp.h | 2451 struct ip_options_rcu *dopt = NULL; local 2454 int opt_size = sizeof(*dopt) + opt->optlen; 2456 dopt = kmalloc(opt_size, GFP_ATOMIC); 2457 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { 2458 kfree(dopt); 2459 dopt = NULL; 2462 return dopt;
|
H A D | ip.h | 747 int __ip_options_echo(struct net *net, struct ip_options *dopt, 749 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, argument 752 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt);
|
Completed in 255 milliseconds