Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/ !
H A Dtest_tunnel.c542 int set_src_prog_fd, get_src_prog_fd; in test_vxlan_tunnel() local
557 get_src_prog_fd = bpf_program__fd(skel->progs.vxlan_get_tunnel_src); in test_vxlan_tunnel()
559 if (tc_prog_attach(VXLAN_TUNL_DEV1, get_src_prog_fd, set_src_prog_fd)) in test_vxlan_tunnel()
602 int set_src_prog_fd, get_src_prog_fd; in test_ip6vxlan_tunnel() local
617 get_src_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_get_tunnel_src); in test_ip6vxlan_tunnel()
619 if (tc_prog_attach(IP6VXLAN_TUNL_DEV1, get_src_prog_fd, set_src_prog_fd)) in test_ip6vxlan_tunnel()
655 int set_src_prog_fd, get_src_prog_fd; in test_ipip_tunnel() local
670 get_src_prog_fd = bpf_program__fd( in test_ipip_tunnel()
676 get_src_prog_fd = bpf_program__fd( in test_ipip_tunnel()
682 get_src_prog_fd = bpf_program__fd( in test_ipip_tunnel()
[all …]