Searched refs:newopt (Results 1 – 3 of 3) sorted by relevance
/net/ipv6/ |
D | exthdrs.c | 1286 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() argument 1303 if (newopt) in ipv6_renew_options() 1304 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options() 1321 newopt, newtype, &p); in ipv6_renew_options() 1324 newopt, newtype, &p); in ipv6_renew_options() 1328 newopt, newtype, &p); in ipv6_renew_options() 1331 newopt, newtype, &p); in ipv6_renew_options()
|
/net/sctp/ |
D | protocol.c | 180 struct ip_options_rcu *inet_opt, *newopt = NULL; in sctp_v4_copy_ip_options() local 187 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in sctp_v4_copy_ip_options() 189 if (newopt) in sctp_v4_copy_ip_options() 190 memcpy(newopt, inet_opt, sizeof(*inet_opt) + in sctp_v4_copy_ip_options() 195 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()
|
/net/mptcp/ |
D | protocol.c | 2882 struct ip_options_rcu *inet_opt, *newopt = NULL; in mptcp_copy_ip_options() local 2891 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in mptcp_copy_ip_options() 2893 if (newopt) in mptcp_copy_ip_options() 2894 memcpy(newopt, inet_opt, sizeof(*inet_opt) + in mptcp_copy_ip_options() 2899 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()
|