Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_dtime.c114 static bool bpf_fwd(void) in bpf_fwd() function
353 return bpf_fwd() ? in ingress_fwdns_prio101()
356 return bpf_fwd() ? in ingress_fwdns_prio101()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c789 static void test_tcp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) in test_tcp_dtime() argument
796 t = bpf_fwd ? TCP_IP4 : TCP_IP4_RT_FWD; in test_tcp_dtime()
799 t = bpf_fwd ? TCP_IP6 : TCP_IP6_RT_FWD; in test_tcp_dtime()
821 static void test_udp_dtime(struct test_tc_dtime *skel, int family, bool bpf_fwd) in test_udp_dtime() argument
828 t = bpf_fwd ? UDP_IP4 : UDP_IP4_RT_FWD; in test_udp_dtime()
831 t = bpf_fwd ? UDP_IP6 : UDP_IP6_RT_FWD; in test_udp_dtime()