Searched refs:pad_off (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_seg6_loop.c | 89 uint32_t pad_off) in update_tlv_pad() argument 94 err = bpf_lwt_seg6_adjust_srh(skb, pad_off, in update_tlv_pad() 108 err = bpf_lwt_seg6_store_bytes(skb, pad_off, in update_tlv_pad() 121 uint32_t *pad_off) in is_valid_tlv_boundary() argument 132 *pad_off = 0; in is_valid_tlv_boundary() 153 *pad_off = cur_off; in is_valid_tlv_boundary() 168 if (*pad_off == 0) in is_valid_tlv_boundary() 169 *pad_off = cur_off; in is_valid_tlv_boundary() 185 uint32_t pad_off = 0; in add_tlv() local 196 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv() [all …]
|
D | test_lwt_seg6local.c | 89 uint32_t old_pad, uint32_t pad_off) in update_tlv_pad() argument 94 err = bpf_lwt_seg6_adjust_srh(skb, pad_off, in update_tlv_pad() 108 err = bpf_lwt_seg6_store_bytes(skb, pad_off, in update_tlv_pad() 120 uint32_t *pad_off) in is_valid_tlv_boundary() argument 131 *pad_off = 0; in is_valid_tlv_boundary() 150 *pad_off = cur_off; in is_valid_tlv_boundary() 165 if (*pad_off == 0) in is_valid_tlv_boundary() 166 *pad_off = cur_off; in is_valid_tlv_boundary() 182 uint32_t pad_off = 0; in add_tlv() local 193 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv() [all …]
|