Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_tunnel.c314 int set_dst_prog_fd; in test_vxlan_tunnel() local
348 set_dst_prog_fd = bpf_program__fd(skel->progs.veth_set_outer_dst); in test_vxlan_tunnel()
349 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel()
351 if (attach_tc_prog(&tc_hook, set_dst_prog_fd, -1)) in test_vxlan_tunnel()
362 set_dst_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_dst); in test_vxlan_tunnel()
363 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_vxlan_tunnel()
365 if (attach_tc_prog(&tc_hook, -1, set_dst_prog_fd)) in test_vxlan_tunnel()
398 int set_dst_prog_fd; in test_ip6vxlan_tunnel() local
435 set_dst_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_dst); in test_ip6vxlan_tunnel()
436 if (!ASSERT_GE(set_dst_prog_fd, 0, "bpf_program__fd")) in test_ip6vxlan_tunnel()
[all …]