Home
last modified time | relevance | path

Searched refs:ipv6_optlen (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/net/ipv6/
Dexthdrs.c960 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 …]
Dexthdrs_core.c105 hdrlen = ipv6_optlen(hp); in ipv6_skip_exthdr()
269 hdrlen = ipv6_optlen(hp); in ipv6_find_hdr()
Dcalipso.c815 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()
Doutput_core.c117 offset += ipv6_optlen(exthdr); in ip6_find_1stfragopt()
Dah6.c108 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()
Dip6_offload.c58 len = ipv6_optlen(opth); in ipv6_gso_pull_exthdrs()
173 optlen = ipv6_optlen(opth); in ipv6_exthdrs_len()
Dmip6.c290 offset += ipv6_optlen(exthdr); in mip6_destopt_offset()
425 offset += ipv6_optlen(exthdr); in mip6_rthdr_offset()
Desp6_offload.c43 off += ipv6_optlen(exthdr); in esp6_nexthdr_esp_offset()
Dipv6_sockglue.c422 if (unlikely(ipv6_optlen(new) > optlen)) { in do_ipv6_setsockopt()
1016 len = min_t(unsigned int, len, ipv6_optlen(hdr)); in ipv6_getsockopt_sticky()
Dip6_tunnel.c421 optlen = ipv6_optlen(hdr); in ip6_tnl_parse_tlv_enc_lim()
/Linux-v5.4/net/ipv6/netfilter/
Dip6t_srh.c37 hdrlen = ipv6_optlen(srh); in srh_mt6()
131 hdrlen = ipv6_optlen(srh); in srh1_mt6()
Dip6t_ipv6header.c76 hdrlen = ipv6_optlen(hp); in ipv6header_mt6()
Dip6t_hbh.c75 hdrlen = ipv6_optlen(oh); in hbh_mt6()
Dip6t_rt.c62 hdrlen = ipv6_optlen(rh); in rt_mt6()
Dnf_log_ipv6.c125 hdrlen = ipv6_optlen(hp); in dump_ipv6_packet()
Dnf_conntrack_reasm.c419 hdrlen = ipv6_optlen(&hdr); in find_prev_fhdr()
/Linux-v5.4/include/linux/
Dipv6.h7 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3) macro
/Linux-v5.4/net/sched/
Dact_csum.c517 ixhl = ipv6_optlen(ip6xh); in tcf_csum_ipv6()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c146 off += ipv6_optlen(hp); in iwl_mvm_tx_csum()
/Linux-v5.4/net/xfrm/
Dxfrm_policy.c3414 offset += ipv6_optlen(exthdr); in decode_session6()
3448 offset += ipv6_optlen(exthdr); in decode_session6()
/Linux-v5.4/net/core/
Dskbuff.c4826 off += ipv6_optlen(hp); in skb_checksum_setup_ipv6()