Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c13118 bpf_program_attach_fd(const struct bpf_program *prog, in bpf_program_attach_fd() function
13154 return bpf_program_attach_fd(prog, cgroup_fd, "cgroup", NULL); in bpf_program__attach_cgroup()
13160 return bpf_program_attach_fd(prog, netns_fd, "netns", NULL); in bpf_program__attach_netns()
13166 return bpf_program_attach_fd(prog, map_fd, "sockmap", NULL); in bpf_program__attach_sockmap()
13172 return bpf_program_attach_fd(prog, ifindex, "xdp", NULL); in bpf_program__attach_xdp()
13200 return bpf_program_attach_fd(prog, cgroup_fd, "cgroup", &link_create_opts); in bpf_program__attach_cgroup_opts()
13235 return bpf_program_attach_fd(prog, ifindex, "tcx", &link_create_opts); in bpf_program__attach_tcx()
13269 return bpf_program_attach_fd(prog, ifindex, "netkit", &link_create_opts); in bpf_program__attach_netkit()
13299 return bpf_program_attach_fd(prog, target_fd, "freplace", in bpf_program__attach_freplace()