Searched refs:newopt (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ipv6/ |
| H A D | exthdrs.c | 1288 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() argument 1305 if (newopt) in ipv6_renew_options() 1306 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options() 1323 newopt, newtype, &p); in ipv6_renew_options() 1326 newopt, newtype, &p); in ipv6_renew_options() 1330 newopt, newtype, &p); in ipv6_renew_options() 1333 newopt, newtype, &p); in ipv6_renew_options()
|
| /linux/net/sctp/ |
| H A D | protocol.c | 182 struct ip_options_rcu *inet_opt, *newopt = NULL; in sctp_v4_copy_ip_options() local 189 newopt = sock_kmemdup(newsk, inet_opt, sizeof(*inet_opt) + in sctp_v4_copy_ip_options() 191 if (!newopt) in sctp_v4_copy_ip_options() 194 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 3691 struct ip_options_rcu *inet_opt, *newopt = NULL; in mptcp_copy_ip_options() local 3700 newopt = sock_kmemdup(newsk, inet_opt, sizeof(*inet_opt) + in mptcp_copy_ip_options() 3702 if (!newopt) in mptcp_copy_ip_options() 3705 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()
|