Home
last modified time | relevance | path

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

/net/ipv6/
Dexthdrs.c1053 int newtype, struct ipv6_opt_hdr *newopt) in ipv6_renew_options() argument
1070 if (newopt) in ipv6_renew_options()
1071 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()
1088 newopt, newtype, &p); in ipv6_renew_options()
1091 newopt, newtype, &p); in ipv6_renew_options()
1095 newopt, newtype, &p); in ipv6_renew_options()
1098 newopt, newtype, &p); in ipv6_renew_options()
/net/sctp/
Dprotocol.c179 struct ip_options_rcu *inet_opt, *newopt = NULL; in sctp_v4_copy_ip_options() local
186 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in sctp_v4_copy_ip_options()
188 if (newopt) in sctp_v4_copy_ip_options()
189 memcpy(newopt, inet_opt, sizeof(*inet_opt) + in sctp_v4_copy_ip_options()
194 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()