Searched refs:attach_tc_prog (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_tunnel.c | 275 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog() function 340 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_vxlan_tunnel() 351 if (attach_tc_prog(&tc_hook, set_dst_prog_fd, -1)) in test_vxlan_tunnel() 365 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_vxlan_tunnel() 424 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_ip6vxlan_tunnel() 438 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_ip6vxlan_tunnel() 513 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_ipip_tunnel()
|
H A D | xdp_do_redirect.c | 41 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog() function 218 if (attach_tc_prog(&tc_hook, tc_prog_fd)) in test_xdp_do_redirect()
|
H A D | xfrm_info.c | 72 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog() function 317 if (attach_tc_prog(&tc_hook, get_xfrm_info_prog_fd, in _test_xfrm_info()
|