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.c543 int set_dst_prog_fd; in test_vxlan_tunnel() local
563 set_dst_prog_fd = bpf_program__fd(skel->progs.veth_set_outer_dst); in test_vxlan_tunnel()
564 if (tc_prog_attach("veth1", set_dst_prog_fd, -1)) in test_vxlan_tunnel()
571 set_dst_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_dst); in test_vxlan_tunnel()
572 if (tc_prog_attach(VXLAN_TUNL_DEV0, -1, set_dst_prog_fd)) in test_vxlan_tunnel()
603 int set_dst_prog_fd; in test_ip6vxlan_tunnel() local
626 set_dst_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_dst); in test_ip6vxlan_tunnel()
627 if (tc_prog_attach(IP6VXLAN_TUNL_DEV0, -1, set_dst_prog_fd)) in test_ip6vxlan_tunnel()