Home
last modified time | relevance | path

Searched refs:tlv_offset (Results 1 – 6 of 6) sorted by relevance

/linux/net/ipv6/
H A Dseg6.c28 unsigned int tlv_offset; in seg6_validate_srh() local
50 tlv_offset = sizeof(*srh) + ((srh->first_segment + 1) << 4); in seg6_validate_srh()
52 trailing = len - tlv_offset; in seg6_validate_srh()
63 tlv = (struct sr6_tlv *)((unsigned char *)srh + tlv_offset); in seg6_validate_srh()
70 tlv_offset += tlv_len; in seg6_validate_srh()
H A Dseg6_iptunnel.c211 int red_tlv_offset, tlv_offset; in seg6_do_srh_encap_red() local
284 tlv_offset = sizeof(*osrh) + (first_seg + 1) * sizeof(struct in6_addr); in seg6_do_srh_encap_red()
285 red_tlv_offset = tlv_offset - sizeof(struct in6_addr); in seg6_do_srh_encap_red()
289 tlvs_len = hdrlen - tlv_offset; in seg6_do_srh_encap_red()
291 const void *s = (const void *)osrh + tlv_offset; in seg6_do_srh_encap_red()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_seg6local.c263 int tlv_offset = sizeof(struct ip6_t) + sizeof(struct ip6_srh_t) + in has_egr_tlv() local
267 if (bpf_skb_load_bytes(skb, tlv_offset, &tlv, sizeof(struct sr6_tlv_t))) in has_egr_tlv()
273 if (bpf_skb_load_bytes(skb, tlv_offset + 4, &egr_addr, 16)) in has_egr_tlv()
/linux/include/uapi/linux/
H A Dcfm_bridge.h33 __u8 tlv_offset; member
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower_cfm.sh43 local tlv_offset=$1; shift
49 )"$(u8_to_hex $tlv_offset)"$( : TLV offset
/linux/net/bridge/
H A Dbr_cfm.c208 common_hdr->tlv_offset = CFM_CCM_TLV_OFFSET; in ccm_frame_build()