Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv6/
Dseg6.c30 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()
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-6.1.9/include/uapi/linux/
Dcfm_bridge.h33 __u8 tlv_offset; member
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_lwt_seg6local.c261 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()
/linux-6.1.9/net/bridge/
Dbr_cfm.c208 common_hdr->tlv_offset = CFM_CCM_TLV_OFFSET; in ccm_frame_build()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_sli.c20608 uint32_t if_type, data_size, sub_tlv_len, tlv_offset; in lpfc_sli_read_link_ste() local
20663 tlv_offset = 0; in lpfc_sli_read_link_ste()
20669 (tlv_offset < sub_tlv_len)) { in lpfc_sli_read_link_ste()
20672 tlv_offset += 4; in lpfc_sli_read_link_ste()
20677 tlv_offset += rgn23_data[offset + 1] * 4 + 4; in lpfc_sli_read_link_ste()