Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_seg6_loop.c119 uint32_t *tlv_off, in is_valid_tlv_boundary() argument
141 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
155 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()
156 *tlv_off = cur_off; in is_valid_tlv_boundary()
171 if (*tlv_off == -1) in is_valid_tlv_boundary()
172 *tlv_off = cur_off; in is_valid_tlv_boundary()
180 struct ip6_srh_t *srh, uint32_t tlv_off, in add_tlv() argument
190 if (tlv_off != -1) in add_tlv()
191 tlv_off += srh_off; in add_tlv()
196 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv()
[all …]
H A Dtest_lwt_seg6local.c119 uint32_t *tlv_off, uint32_t *pad_size, in is_valid_tlv_boundary() argument
138 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
152 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()
153 *tlv_off = cur_off; in is_valid_tlv_boundary()
168 if (*tlv_off == -1) in is_valid_tlv_boundary()
169 *tlv_off = cur_off; in is_valid_tlv_boundary()
187 if (tlv_off != -1) in add_tlv()
188 tlv_off += srh_off; in add_tlv()
222 uint32_t tlv_off) in delete_tlv() argument
232 tlv_off += srh_off; in delete_tlv()
[all …]