Searched refs:dopt (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/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-6.12.1/include/net/ |
D | tcp.h | 2467 struct ip_options_rcu *dopt = NULL; in tcp_v4_save_options() local 2470 int opt_size = sizeof(*dopt) + opt->optlen; in tcp_v4_save_options() 2472 dopt = kmalloc(opt_size, GFP_ATOMIC); in tcp_v4_save_options() 2473 if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { in tcp_v4_save_options() 2474 kfree(dopt); in tcp_v4_save_options() 2475 dopt = NULL; in tcp_v4_save_options() 2478 return dopt; in tcp_v4_save_options()
|
D | ip.h | 749 int __ip_options_echo(struct net *net, struct ip_options *dopt, 751 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() argument 754 return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); in ip_options_echo()
|