Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c130 uint32_t *tlv_off, uint32_t *pad_size, in is_valid_tlv_boundary() argument
149 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
163 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()
164 *tlv_off = cur_off; in is_valid_tlv_boundary()
179 if (*tlv_off == -1) in is_valid_tlv_boundary()
180 *tlv_off = cur_off; in is_valid_tlv_boundary()
188 int add_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, uint32_t tlv_off, in add_tlv() argument
198 if (tlv_off != -1) in add_tlv()
199 tlv_off += srh_off; in add_tlv()
204 err = is_valid_tlv_boundary(skb, srh, &tlv_off, &pad_size, &pad_off); in add_tlv()
[all …]