Searched refs:ipv6_optlen (Results 1 – 21 of 21) sorted by relevance
960 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()962 memcpy(h, opt, ipv6_optlen(opt)); in ipv6_push_exthdr()1026 memcpy(*p, src, ipv6_optlen(src)); in ipv6_renew_option()1028 *p += CMSG_ALIGN(ipv6_optlen(*dest)); in ipv6_renew_option()1062 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()1064 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); in ipv6_renew_options()1066 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()1068 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); in ipv6_renew_options()1072 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()1101 opt2->opt_nflen = (opt2->hopopt ? ipv6_optlen(opt2->hopopt) : 0) + in ipv6_renew_options()[all …]
105 hdrlen = ipv6_optlen(hp); in ipv6_skip_exthdr()269 hdrlen = ipv6_optlen(hp); in ipv6_find_hdr()
815 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len()857 opt_len = ipv6_optlen(hop); in calipso_opt_find()921 hop_len = ipv6_optlen(hop); in calipso_opt_insert()985 hop_len = ipv6_optlen(hop); in calipso_opt_del()1088 opt_len = ipv6_optlen(hop); in calipso_sock_getattr()1389 old_hop_len = ipv6_optlen(old_hop); in calipso_skbuff_delattr()
117 offset += ipv6_optlen(exthdr); in ip6_find_1stfragopt()
108 int len = ipv6_optlen(opthdr); in zero_out_mutable_opts()152 int len = ipv6_optlen(destopt); in ipv6_rearrange_destopt()281 exthdr.raw += ipv6_optlen(exthdr.opth); in ipv6_clear_mutable_options()
58 len = ipv6_optlen(opth); in ipv6_gso_pull_exthdrs()173 optlen = ipv6_optlen(opth); in ipv6_exthdrs_len()
290 offset += ipv6_optlen(exthdr); in mip6_destopt_offset()425 offset += ipv6_optlen(exthdr); in mip6_rthdr_offset()
43 off += ipv6_optlen(exthdr); in esp6_nexthdr_esp_offset()
422 if (unlikely(ipv6_optlen(new) > optlen)) { in do_ipv6_setsockopt()1016 len = min_t(unsigned int, len, ipv6_optlen(hdr)); in ipv6_getsockopt_sticky()
421 optlen = ipv6_optlen(hdr); in ip6_tnl_parse_tlv_enc_lim()
37 hdrlen = ipv6_optlen(srh); in srh_mt6()131 hdrlen = ipv6_optlen(srh); in srh1_mt6()
76 hdrlen = ipv6_optlen(hp); in ipv6header_mt6()
75 hdrlen = ipv6_optlen(oh); in hbh_mt6()
62 hdrlen = ipv6_optlen(rh); in rt_mt6()
125 hdrlen = ipv6_optlen(hp); in dump_ipv6_packet()
419 hdrlen = ipv6_optlen(&hdr); in find_prev_fhdr()
7 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3) macro
517 ixhl = ipv6_optlen(ip6xh); in tcf_csum_ipv6()
146 off += ipv6_optlen(hp); in iwl_mvm_tx_csum()
3414 offset += ipv6_optlen(exthdr); in decode_session6()3448 offset += ipv6_optlen(exthdr); in decode_session6()
4826 off += ipv6_optlen(hp); in skb_checksum_setup_ipv6()