Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c275 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
297 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
433 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
434 encap->unigue.last_hop_gre) { in forward_to_next_hop()
442 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
443 encap->unigue.next_hop++; in forward_to_next_hop()
478 if (encap->unigue.next_hop > encap->unigue.hop_count) in get_next_hop()
482 MAYBE_RETURN(skip_next_hops(offset, encap->unigue.next_hop)); in get_next_hop()
484 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
496 return skip_next_hops(offset, encap->unigue.hop_count - encap->unigue.next_hop - 1); in get_next_hop()
[all …]
H A Dtest_cls_redirect.c382 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
406 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
540 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
541 encap->unigue.last_hop_gre) { in forward_to_next_hop()
549 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
550 encap->unigue.next_hop++; in forward_to_next_hop()
586 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop()
591 MAYBE_RETURN(skip_next_hops(pkt, encap->unigue.next_hop)); in get_next_hop()
593 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
604 return skip_next_hops(pkt, encap->unigue.hop_count - in get_next_hop()
[all …]
H A Dtest_cls_redirect.h39 struct unigue { struct
62 struct unigue unigue; argument
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c270 .unigue = { in encap_init()