Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv6/
Dexthdrs.c1163 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 …]
Dexthdrs_core.c105 hdrlen = ipv6_optlen(hp); in ipv6_skip_exthdr()
271 hdrlen = ipv6_optlen(hp); in ipv6_find_hdr()
Dcalipso.c811 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()
Doutput_core.c93 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()
278 exthdr.raw += ipv6_optlen(exthdr.opth); in ipv6_clear_mutable_options()
Dip6_offload.c62 len = ipv6_optlen(opth); in ipv6_gso_pull_exthdrs()
182 optlen = ipv6_optlen(opth); in ipv6_exthdrs_len()
Desp6_offload.c45 off += ipv6_optlen(exthdr); in esp6_nexthdr_esp_offset()
Dipv6_sockglue.c347 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()
Dseg6_iptunnel.c210 int hdrlen = ipv6_optlen(osrh); in seg6_do_srh_encap_red()
Dseg6_local.c639 srhlen = ipv6_optlen(srh); in seg6_pop_srh()
721 off += ipv6_optlen(hp); in seg6_pop_srh()
Dip6_tunnel.c420 optlen = ipv6_optlen(hdr); in ip6_tnl_parse_tlv_enc_lim()
/Linux-v6.6/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.c57 hdrlen = ipv6_optlen(rh); in rt_mt6()
Dnf_conntrack_reasm.c418 hdrlen = ipv6_optlen(&hdr); in find_prev_fhdr()
/Linux-v6.6/include/linux/
Dipv6.h7 #define ipv6_optlen(p) (((p)->hdrlen+1) << 3) macro
/Linux-v6.6/net/sched/
Dact_csum.c514 ixhl = ipv6_optlen(ip6xh); in tcf_csum_ipv6()
/Linux-v6.6/net/xfrm/
Dxfrm_output.c131 offset += ipv6_optlen(exthdr); in mip6_rthdr_offset()
Dxfrm_policy.c3489 offset += ipv6_optlen(exthdr); in decode_session6()
3542 offset += ipv6_optlen(exthdr); in decode_session6()
/Linux-v6.6/net/netfilter/
Dnf_log_syslog.c620 hdrlen = ipv6_optlen(hp); in dump_ipv6_packet()
/Linux-v6.6/net/openvswitch/
Dflow.c381 start += ipv6_optlen(hp); in get_ipv6_ext_hdrs()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c89 off += ipv6_optlen(hp); in iwl_mvm_tx_csum()
/Linux-v6.6/net/core/
Dskbuff.c5537 off += ipv6_optlen(hp); in skb_checksum_setup_ipv6()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c11358 hdrlen = ipv6_optlen(hp); in bnxt_exthdr_check()