Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_dtime.c114 static bool bpf_fwd(void) in bpf_fwd() function
351 return bpf_fwd() ? in ingress_fwdns_prio101()
354 return bpf_fwd() ? in ingress_fwdns_prio101()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c854 static void test_tcp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) in test_tcp_dtime() argument
861 t = bpf_fwd ? TCP_IP4 : TCP_IP4_RT_FWD; in test_tcp_dtime()
864 t = bpf_fwd ? TCP_IP6 : TCP_IP6_RT_FWD; in test_tcp_dtime()
886 static void test_udp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) in test_udp_dtime() argument
893 t = bpf_fwd ? UDP_IP4 : UDP_IP4_RT_FWD; in test_udp_dtime()
896 t = bpf_fwd ? UDP_IP6 : UDP_IP6_RT_FWD; in test_udp_dtime()