Searched refs:ipv6_optlen (Results 1 – 25 of 25) sorted by relevance
1163 struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); in ipv6_push_exthdr()1165 memcpy(h, opt, ipv6_optlen(opt)); in ipv6_push_exthdr()1229 memcpy(*p, src, ipv6_optlen(src)); in ipv6_renew_option()1231 *p += CMSG_ALIGN(ipv6_optlen(*dest)); in ipv6_renew_option()1264 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()1266 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); in ipv6_renew_options()1268 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()1270 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); in ipv6_renew_options()1274 tot_len += CMSG_ALIGN(ipv6_optlen(newopt)); in ipv6_renew_options()1303 opt2->opt_nflen = (opt2->hopopt ? ipv6_optlen(opt2->hopopt) : 0) + in ipv6_renew_options()[all …]
105 hdrlen = ipv6_optlen(hp); in ipv6_skip_exthdr()271 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()
93 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()278 exthdr.raw += ipv6_optlen(exthdr.opth); in ipv6_clear_mutable_options()
62 len = ipv6_optlen(opth); in ipv6_gso_pull_exthdrs()182 optlen = ipv6_optlen(opth); in ipv6_exthdrs_len()
45 off += ipv6_optlen(exthdr); in esp6_nexthdr_esp_offset()
347 if (unlikely(ipv6_optlen(new) > optlen)) { in ipv6_set_opt_hdr()1051 len = min_t(unsigned int, len, ipv6_optlen(hdr)); in ipv6_getsockopt_sticky()
210 int hdrlen = ipv6_optlen(osrh); in seg6_do_srh_encap_red()
639 srhlen = ipv6_optlen(srh); in seg6_pop_srh()721 off += ipv6_optlen(hp); in seg6_pop_srh()
420 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()
418 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()
131 offset += ipv6_optlen(exthdr); in mip6_rthdr_offset()
3489 offset += ipv6_optlen(exthdr); in decode_session6()3542 offset += ipv6_optlen(exthdr); in decode_session6()
620 hdrlen = ipv6_optlen(hp); in dump_ipv6_packet()
381 start += ipv6_optlen(hp); in get_ipv6_ext_hdrs()
89 off += ipv6_optlen(hp); in iwl_mvm_tx_csum()
5537 off += ipv6_optlen(hp); in skb_checksum_setup_ipv6()
11358 hdrlen = ipv6_optlen(hp); in bnxt_exthdr_check()