Lines Matching refs:ipv6_optlen
1156 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()
1158 memcpy(h, opt, ipv6_optlen(opt)); in ipv6_push_exthdr()
1222 memcpy(*p, src, ipv6_optlen(src)); in ipv6_renew_option()
1224 *p += CMSG_ALIGN(ipv6_optlen(*dest)); in ipv6_renew_option()
1257 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()
1259 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); in ipv6_renew_options()
1261 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
1263 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); in ipv6_renew_options()
1267 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()
1296 opt2->opt_nflen = (opt2->hopopt ? ipv6_optlen(opt2->hopopt) : 0) + in ipv6_renew_options()
1297 (opt2->dst0opt ? ipv6_optlen(opt2->dst0opt) : 0) + in ipv6_renew_options()
1298 (opt2->srcrt ? ipv6_optlen(opt2->srcrt) : 0); in ipv6_renew_options()
1299 opt2->opt_flen = (opt2->dst1opt ? ipv6_optlen(opt2->dst1opt) : 0); in ipv6_renew_options()
1316 opt->opt_nflen -= ipv6_optlen(opt->dst0opt); in ipv6_fixup_options()