Home
last modified time | relevance | path

Searched refs:itlv (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_seg6_loop.c181 struct sr6_tlv_t *itlv, uint8_t tlv_size) in add_tlv() argument
193 if (itlv->type == SR6_TLV_PADDING || itlv->type == SR6_TLV_HMAC) in add_tlv()
200 err = bpf_lwt_seg6_adjust_srh(skb, tlv_off, sizeof(*itlv) + itlv->len); in add_tlv()
204 err = bpf_lwt_seg6_store_bytes(skb, tlv_off, (void *)itlv, tlv_size); in add_tlv()
210 pad_off += sizeof(*itlv) + itlv->len; in add_tlv()
Dtest_lwt_seg6local.c178 struct sr6_tlv_t *itlv, uint8_t tlv_size) in add_tlv() argument
190 if (itlv->type == SR6_TLV_PADDING || itlv->type == SR6_TLV_HMAC) in add_tlv()
197 err = bpf_lwt_seg6_adjust_srh(skb, tlv_off, sizeof(*itlv) + itlv->len); in add_tlv()
201 err = bpf_lwt_seg6_store_bytes(skb, tlv_off, (void *)itlv, tlv_size); in add_tlv()
207 pad_off += sizeof(*itlv) + itlv->len; in add_tlv()