Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c277 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
299 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
435 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
436 encap->unigue.last_hop_gre) { in forward_to_next_hop()
444 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
445 encap->unigue.next_hop++; in forward_to_next_hop()
480 if (encap->unigue.next_hop > encap->unigue.hop_count) in get_next_hop()
484 MAYBE_RETURN(skip_next_hops(offset, encap->unigue.next_hop)); in get_next_hop()
486 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
498 return skip_next_hops(offset, encap->unigue.hop_count - encap->unigue.next_hop - 1); in get_next_hop()
[all …]
H A Dtest_cls_redirect.c383 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
407 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
541 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
542 encap->unigue.last_hop_gre) { in forward_to_next_hop()
550 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
551 encap->unigue.next_hop++; in forward_to_next_hop()
587 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop()
592 MAYBE_RETURN(skip_next_hops(pkt, encap->unigue.next_hop)); in get_next_hop()
594 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
605 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
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c195 .unigue = { in encap_init()