Lines Matching refs:ipv6_optlen
1200 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()
1202 memcpy(h, opt, ipv6_optlen(opt)); in ipv6_push_exthdr()
1266 memcpy(*p, src, ipv6_optlen(src)); in ipv6_renew_option()
1268 *p += CMSG_ALIGN(ipv6_optlen(*dest)); in ipv6_renew_option()
1301 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()
1303 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); in ipv6_renew_options()
1305 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
1307 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); in ipv6_renew_options()
1311 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()
1340 opt2->opt_nflen = (opt2->hopopt ? ipv6_optlen(opt2->hopopt) : 0) + in ipv6_renew_options()
1341 (opt2->dst0opt ? ipv6_optlen(opt2->dst0opt) : 0) + in ipv6_renew_options()
1342 (opt2->srcrt ? ipv6_optlen(opt2->srcrt) : 0); in ipv6_renew_options()
1343 opt2->opt_flen = (opt2->dst1opt ? ipv6_optlen(opt2->dst1opt) : 0); in ipv6_renew_options()
1360 opt->opt_nflen -= ipv6_optlen(opt->dst0opt); in ipv6_fixup_options()