Searched refs:set_dst_prog_fd (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
| D | test_tunnel.c | 253 int set_dst_prog_fd; in test_vxlan_tunnel() local 287 set_dst_prog_fd = bpf_program__fd(skel->progs.veth_set_outer_dst); in test_vxlan_tunnel() 288 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel() 290 if (attach_tc_prog(&tc_hook, set_dst_prog_fd, -1)) in test_vxlan_tunnel() 301 set_dst_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_dst); in test_vxlan_tunnel() 302 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel() 304 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_vxlan_tunnel() 337 int set_dst_prog_fd; in test_ip6vxlan_tunnel() local 374 set_dst_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_dst); in test_ip6vxlan_tunnel() 375 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_ip6vxlan_tunnel() [all …]
|