Searched refs:attach_tc_prog (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_tunnel.c | 367 static int attach_tc_prog(struct bpf_tc_hook *hook, int igr_fd, int egr_fd) in attach_tc_prog() function 432 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_vxlan_tunnel() 443 if (attach_tc_prog(&tc_hook, set_dst_prog_fd, -1)) in test_vxlan_tunnel() 457 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_vxlan_tunnel() 516 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_ip6vxlan_tunnel() 530 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_ip6vxlan_tunnel() 605 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_ipip_tunnel() 658 if (attach_tc_prog(&tc_hook, tc_prog_fd, -1)) in test_xfrm_tunnel()
|
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()
|
H A D | xdp_do_redirect.c | 42 static int attach_tc_prog(struct bpf_tc_hook *hook, int fd) in attach_tc_prog() function 219 if (attach_tc_prog(&tc_hook, tc_prog_fd)) in test_xdp_do_redirect()
|