Searched refs:tlv_offset (Results 1 – 6 of 6) sorted by relevance
28 unsigned int tlv_offset; in seg6_validate_srh() local50 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()
211 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()
263 int tlv_offset = sizeof(struct ip6_t) + sizeof(struct ip6_srh_t) + in has_egr_tlv() local267 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()
33 __u8 tlv_offset; member
43 local tlv_offset=$1; shift49 )"$(u8_to_hex $tlv_offset)"$( : TLV offset
208 common_hdr->tlv_offset = CFM_CCM_TLV_OFFSET; in ccm_frame_build()