Searched refs:get_fd (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_tunnel.c | 762 int set_fd, get_fd; in test_gre_tunnel() local 773 get_fd = bpf_program__fd(skel->progs.gre_get_tunnel); in test_gre_tunnel() 778 get_fd = bpf_program__fd(skel->progs.gre_get_tunnel); in test_gre_tunnel() 783 get_fd = bpf_program__fd(skel->progs.gre_get_tunnel); in test_gre_tunnel() 788 get_fd = bpf_program__fd(skel->progs.gre_get_tunnel); in test_gre_tunnel() 794 if (tc_prog_attach(GRE_TUNL_DEV1, get_fd, set_fd)) in test_gre_tunnel() 813 int set_fd, get_fd; in test_ip6gre_tunnel() local 834 get_fd = bpf_program__fd(skel->progs.ip6gretap_get_tunnel); in test_ip6gre_tunnel() 835 if (tc_prog_attach(IP6GRE_TUNL_DEV1, get_fd, set_fd)) in test_ip6gre_tunnel() 855 int set_fd, get_fd; in test_erspan_tunnel() local [all …]
|
| /linux/tools/bpf/bpftool/ |
| H A D | common.c | 380 int do_pin_any(int argc, char **argv, int (*get_fd)(int *, char ***)) in do_pin_any() 388 fd = get_fd(&argc, &argv); in do_pin_any()
|