Searched refs:bpf_fwd (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tc_dtime.c114 static bool bpf_fwd(void) function
353 return bpf_fwd() ?
356 return bpf_fwd() ?
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c839 static void test_tcp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) argument
846 t = bpf_fwd ? TCP_IP4 : TCP_IP4_RT_FWD;
849 t = bpf_fwd ? TCP_IP6 : TCP_IP6_RT_FWD;
871 static void test_udp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) argument
878 t = bpf_fwd ? UDP_IP4 : UDP_IP4_RT_FWD;
881 t = bpf_fwd ? UDP_IP6 : UDP_IP6_RT_FWD;

Completed in 121 milliseconds