Home
last modified time | relevance | path

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

/net/ipv6/
Dexthdrs.c743 struct ipv6_opt_hdr __user *newopt, int newoptlen, in ipv6_renew_option() argument
756 if (copy_from_user(*p, newopt, newoptlen)) in ipv6_renew_option()
759 if (ipv6_optlen(*hdr) > newoptlen) in ipv6_renew_option()
761 *p += CMSG_ALIGN(newoptlen); in ipv6_renew_option()
770 struct ipv6_opt_hdr __user *newopt, int newoptlen) in ipv6_renew_options() argument
788 if (newopt && newoptlen) in ipv6_renew_options()
789 tot_len += CMSG_ALIGN(newoptlen); in ipv6_renew_options()
804 err = ipv6_renew_option(opt ? opt->hopopt : NULL, newopt, newoptlen, in ipv6_renew_options()
810 err = ipv6_renew_option(opt ? opt->dst0opt : NULL, newopt, newoptlen, in ipv6_renew_options()
816 err = ipv6_renew_option(opt ? opt->srcrt : NULL, newopt, newoptlen, in ipv6_renew_options()
[all …]