Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_seg6_loop.c89 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
210 pad_off += sizeof(*itlv) + itlv->len; in add_tlv()
[all …]
H A Dtest_lwt_seg6local.c120 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
207 pad_off += sizeof(*itlv) + itlv->len; in add_tlv()
208 partial_srh_len = pad_off - srh_off; in add_tlv()
227 uint32_t pad_off = 0; in delete_tlv() local
246 pad_off -= sizeof(tlv) + tlv.len; in delete_tlv()
[all …]