Searched refs:attach_tc_prog (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
| D | test_tunnel.c | 214 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog() function 279 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_vxlan_tunnel() 290 if (attach_tc_prog(&tc_hook, set_dst_prog_fd, -1)) in test_vxlan_tunnel() 304 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_vxlan_tunnel() 363 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_ip6vxlan_tunnel() 377 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_ip6vxlan_tunnel()
|
| D | xdp_do_redirect.c | 47 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog() function 171 if (attach_tc_prog(&tc_hook, tc_prog_fd)) in test_xdp_do_redirect()
|