Searched refs:bpf_program_attach_fd (Results 1 – 1 of 1) sorted by relevance
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 12787 bpf_program_attach_fd(const struct bpf_program *prog, in bpf_program_attach_fd() function 12823 return bpf_program_attach_fd(prog, cgroup_fd, "cgroup", NULL); in bpf_program__attach_cgroup() 12829 return bpf_program_attach_fd(prog, netns_fd, "netns", NULL); in bpf_program__attach_netns() 12835 return bpf_program_attach_fd(prog, map_fd, "sockmap", NULL); in bpf_program__attach_sockmap() 12841 return bpf_program_attach_fd(prog, ifindex, "xdp", NULL); in bpf_program__attach_xdp() 12876 return bpf_program_attach_fd(prog, ifindex, "tcx", &link_create_opts); in bpf_program__attach_tcx() 12910 return bpf_program_attach_fd(prog, ifindex, "netkit", &link_create_opts); in bpf_program__attach_netkit() 12940 return bpf_program_attach_fd(prog, target_fd, "freplace", in bpf_program__attach_freplace()
|