Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c133 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local
137 srh_off = (char *)srh - (char *)(long)skb->data; in is_valid_tlv_boundary()
139 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()
152 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()
163 if (*tlv_off == srh_off) { in is_valid_tlv_boundary()
191 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in add_tlv() local
199 tlv_off += srh_off; in add_tlv()
219 partial_srh_len = pad_off - srh_off; in add_tlv()
235 uint32_t srh_off = (char *)srh - (char *)(long)skb->data; in delete_tlv() local
243 tlv_off += srh_off; in delete_tlv()
[all …]