Searched refs:ipv6_optlen (Results 1 – 21 of 21) sorted by relevance
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()[all …]
105 hdrlen = ipv6_optlen(hp); in ipv6_skip_exthdr()269 hdrlen = ipv6_optlen(hp); in ipv6_find_hdr()
811 unsigned int opt_len = ipv6_optlen(opt), tlv_len; in calipso_tlv_len()853 opt_len = ipv6_optlen(hop); in calipso_opt_find()917 hop_len = ipv6_optlen(hop); in calipso_opt_insert()981 hop_len = ipv6_optlen(hop); in calipso_opt_del()1085 opt_len = ipv6_optlen(hop); in calipso_sock_getattr()1386 old_hop_len = ipv6_optlen(old_hop); in calipso_skbuff_delattr()
99 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()
60 len = ipv6_optlen(opth); in ipv6_gso_pull_exthdrs()175 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()
345 if (unlikely(ipv6_optlen(new) > optlen)) { in ipv6_set_opt_hdr()1052 len = min_t(unsigned int, len, ipv6_optlen(hdr)); in ipv6_getsockopt_sticky()
448 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()
57 hdrlen = ipv6_optlen(rh); in rt_mt6()
125 hdrlen = ipv6_optlen(hp); in dump_ipv6_packet()
420 hdrlen = ipv6_optlen(&hdr); in find_prev_fhdr()
7 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3) macro
514 ixhl = ipv6_optlen(ip6xh); in tcf_csum_ipv6()
146 off += ipv6_optlen(hp); in iwl_mvm_tx_csum()
3431 offset += ipv6_optlen(exthdr); in decode_session6()3485 offset += ipv6_optlen(exthdr); in decode_session6()
4977 off += ipv6_optlen(hp); in skb_checksum_setup_ipv6()