Home
last modified time | relevance | path

Searched refs:newopt (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv6/
H A Dexthdrs.c1264 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() argument
1281 if (newopt) in ipv6_renew_options()
1282 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()
1299 newopt, newtype, &p); in ipv6_renew_options()
1302 newopt, newtype, &p); in ipv6_renew_options()
1306 newopt, newtype, &p); in ipv6_renew_options()
1309 newopt, newtype, &p); in ipv6_renew_options()
/linux/net/sctp/
H A Dprotocol.c180 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()
/linux/net/mptcp/
H A Dprotocol.c3277 struct ip_options_rcu *inet_opt, *newopt = NULL; in mptcp_copy_ip_options() local
3286 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in mptcp_copy_ip_options()
3288 if (newopt) in mptcp_copy_ip_options()
3289 memcpy(newopt, inet_opt, sizeof(*inet_opt) + in mptcp_copy_ip_options()
3294 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()
/linux/include/net/
H A Dipv6.h454 struct ipv6_opt_hdr *newopt);