Searched refs:tlv_offset (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/ipv6/ |
H A D | seg6.c | 30 unsigned int tlv_offset; in seg6_validate_srh() local 52 tlv_offset = sizeof(*srh) + ((srh->first_segment + 1) << 4); in seg6_validate_srh() 54 trailing = len - tlv_offset; in seg6_validate_srh() 65 tlv = (struct sr6_tlv *)((unsigned char *)srh + tlv_offset); in seg6_validate_srh() 72 tlv_offset += tlv_len; in seg6_validate_srh()
|
H A D | seg6_iptunnel.c | 218 int red_tlv_offset, tlv_offset; in seg6_do_srh_encap_red() local 291 tlv_offset = sizeof(*osrh) + (first_seg + 1) * sizeof(struct in6_addr); in seg6_do_srh_encap_red() 292 red_tlv_offset = tlv_offset - sizeof(struct in6_addr); in seg6_do_srh_encap_red() 296 tlvs_len = hdrlen - tlv_offset; in seg6_do_srh_encap_red() 298 const void *s = (const void *)osrh + tlv_offset; in seg6_do_srh_encap_red()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_lwt_seg6local.c | 261 int tlv_offset = sizeof(struct ip6_t) + sizeof(struct ip6_srh_t) + in has_egr_tlv() local 265 if (bpf_skb_load_bytes(skb, tlv_offset, &tlv, sizeof(struct sr6_tlv_t))) in has_egr_tlv() 271 if (bpf_skb_load_bytes(skb, tlv_offset + 4, &egr_addr, 16)) in has_egr_tlv()
|
/openbmc/linux/include/uapi/linux/ |
H A D | cfm_bridge.h | 33 __u8 tlv_offset; member
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_cfm.sh | 43 local tlv_offset=$1; shift 49 )"$(u8_to_hex $tlv_offset)"$( : TLV offset
|
/openbmc/linux/net/bridge/ |
H A D | br_cfm.c | 208 common_hdr->tlv_offset = CFM_CCM_TLV_OFFSET; in ccm_frame_build()
|
/openbmc/linux/net/mac80211/ |
H A D | rx.c | 191 int tlv_offset = 0; in ieee80211_rx_radiotap_hdrlen() local 198 tlv_offset += in ieee80211_rx_radiotap_hdrlen() 201 tlv_offset += in ieee80211_rx_radiotap_hdrlen() 204 tlv_offset += in ieee80211_rx_radiotap_hdrlen() 211 len += skb_mac_header(skb) - &skb->data[tlv_offset]; in ieee80211_rx_radiotap_hdrlen()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 20736 uint32_t if_type, data_size, sub_tlv_len, tlv_offset; in lpfc_sli_read_link_ste() local 20791 tlv_offset = 0; in lpfc_sli_read_link_ste() 20797 (tlv_offset < sub_tlv_len)) { in lpfc_sli_read_link_ste() 20800 tlv_offset += 4; in lpfc_sli_read_link_ste() 20805 tlv_offset += rgn23_data[offset + 1] * 4 + 4; in lpfc_sli_read_link_ste()
|