Searched refs:bpf_program_attach_fd (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 13150 bpf_program_attach_fd(const struct bpf_program *prog, in bpf_program_attach_fd() function 13186 return bpf_program_attach_fd(prog, cgroup_fd, "cgroup", NULL); in bpf_program__attach_cgroup() 13192 return bpf_program_attach_fd(prog, netns_fd, "netns", NULL); in bpf_program__attach_netns() 13198 return bpf_program_attach_fd(prog, map_fd, "sockmap", NULL); in bpf_program__attach_sockmap() 13204 return bpf_program_attach_fd(prog, ifindex, "xdp", NULL); in bpf_program__attach_xdp() 13232 return bpf_program_attach_fd(prog, cgroup_fd, "cgroup", &link_create_opts); in bpf_program__attach_cgroup_opts() 13267 return bpf_program_attach_fd(prog, ifindex, "tcx", &link_create_opts); in bpf_program__attach_tcx() 13301 return bpf_program_attach_fd(prog, ifindex, "netkit", &link_create_opts); in bpf_program__attach_netkit() 13331 return bpf_program_attach_fd(prog, target_fd, "freplace", in bpf_program__attach_freplace()
|