Home
last modified time | relevance | path

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

/net/ipv6/
Dexthdrs.c1286 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/
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()