Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_peer.c13 volatile const __u32 IFINDEX_SRC; variable
28 return bpf_redirect_peer(IFINDEX_SRC, 0); in tc_dst()
42 return bpf_redirect_peer(IFINDEX_SRC, BPF_F_EGRESS); in tc_dst_ing()
56 return bpf_redirect(IFINDEX_SRC, 0); in tc_src_ing()
62 return bpf_redirect(IFINDEX_SRC, 0); in tc_dst_l3()
H A Dtest_tc_neigh.c36 volatile const __u32 IFINDEX_SRC; variable
108 return bpf_redirect_neigh(IFINDEX_SRC, NULL, 0, 0); in tc_dst()
H A Dtest_tc_dtime.c42 volatile const __u32 IFINDEX_SRC; variable
355 bpf_redirect_neigh(IFINDEX_SRC, NULL, 0, 0) : TC_ACT_OK; in ingress_fwdns_prio101()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c955 skel->rodata->IFINDEX_SRC = setup_result->ifindex_src_fwd; in test_tc_redirect_dtime()
1047 skel->rodata->IFINDEX_SRC = setup_result->ifindex_src_fwd; in test_tc_redirect_neigh()
1083 skel->rodata->IFINDEX_SRC = setup_result->ifindex_src_fwd; in test_tc_redirect_peer()
1119 skel->rodata->IFINDEX_SRC = setup_result->ifindex_src_fwd; in test_tc_redirect_peer_ing()
1270 skel->rodata->IFINDEX_SRC = ifindex; in test_tc_redirect_peer_l3()