Home
last modified time | relevance | path

Searched refs:set_dst_prog_fd (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_tunnel.c406 int set_dst_prog_fd; in test_vxlan_tunnel() local
440 set_dst_prog_fd = bpf_program__fd(skel->progs.veth_set_outer_dst); in test_vxlan_tunnel()
441 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel()
443 if (attach_tc_prog(&tc_hook, set_dst_prog_fd, -1)) in test_vxlan_tunnel()
454 set_dst_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_dst); in test_vxlan_tunnel()
455 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel()
457 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_vxlan_tunnel()
490 int set_dst_prog_fd; in test_ip6vxlan_tunnel() local
527 set_dst_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_dst); in test_ip6vxlan_tunnel()
528 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_ip6vxlan_tunnel()
[all …]