Searched refs:itlv (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_seg6_loop.c | 181 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()
|
D | test_lwt_seg6local.c | 178 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()
|