Home
last modified time | relevance | path

Searched refs:tlv_offset (Results 1 – 8 of 8) 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/include/uapi/linux/
H A Dcfm_bridge.h33 __u8 tlv_offset; member
/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/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()
/linux/net/mac80211/
H A Drx.c192 int tlv_offset = 0; in ieee80211_rx_radiotap_hdrlen() local
199 tlv_offset += in ieee80211_rx_radiotap_hdrlen()
202 tlv_offset += in ieee80211_rx_radiotap_hdrlen()
205 tlv_offset += in ieee80211_rx_radiotap_hdrlen()
212 len += skb_mac_header(skb) - &skb->data[tlv_offset]; in ieee80211_rx_radiotap_hdrlen()
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c20734 uint32_t if_type, data_size, sub_tlv_len, tlv_offset; in lpfc_sli_read_link_ste() local
20789 tlv_offset = 0; in lpfc_sli_read_link_ste()
20795 (tlv_offset < sub_tlv_len)) { in lpfc_sli_read_link_ste()
20798 tlv_offset += 4; in lpfc_sli_read_link_ste()
20803 tlv_offset += rgn23_data[offset + 1] * 4 + 4; in lpfc_sli_read_link_ste()