Searched refs:dopt (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/net/ipv4/ |
D | ip_options.c | 77 int __ip_options_echo(struct net *net, struct ip_options *dopt, in __ip_options_echo() argument 84 memset(dopt, 0, sizeof(struct ip_options)); in __ip_options_echo() 90 dptr = dopt->__data; in __ip_options_echo() 95 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo() 101 dopt->rr_needaddr = 1; in __ip_options_echo() 104 dopt->optlen += optlen; in __ip_options_echo() 109 dopt->ts = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo() 115 dopt->ts_needaddr = 1; in __ip_options_echo() 122 dopt->ts_needtime = 1; in __ip_options_echo() 125 dopt->ts_needtime = 0; in __ip_options_echo() [all …]
|
/Linux-v6.6/include/net/ |
D | tcp.h | 2236 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local 2239 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() 2241 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options() 2242 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options() 2243 kfree(dopt); in tcp_v4_save_options() 2244 dopt = NULL; in tcp_v4_save_options() 2247 return dopt; in tcp_v4_save_options()
|
D | ip.h | 738 int __ip_options_echo(struct net *net, struct ip_options *dopt, 740 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() argument 743 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
|