Searched refs:set_src_prog_fd (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
| D | test_tunnel.c | 252 int set_src_prog_fd, get_src_prog_fd; in test_vxlan_tunnel() local 274 set_src_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_src); in test_vxlan_tunnel() 277 if (!ASSERT_GE(set_src_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel() 279 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_vxlan_tunnel() 336 int set_src_prog_fd, get_src_prog_fd; in test_ip6vxlan_tunnel() local 358 set_src_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_src); in test_ip6vxlan_tunnel() 359 if (!ASSERT_GE(set_src_prog_fd, 0, "bpf_program__fd")) in test_ip6vxlan_tunnel() 363 if (attach_tc_prog(&tc_hook, get_src_prog_fd, set_src_prog_fd)) in test_ip6vxlan_tunnel()
|