Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c127 link1 = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
161 link = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_prog_attach_link_create()
179 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_prog_attach()
202 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_prog_detach()
246 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_close_query()
264 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_no_old_prog()
289 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_replace_old_prog()
314 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_same_prog()
339 link = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &create_opts); in test_link_update_invalid_opts()
[all …]
Dperf_link.c50 link_fd = bpf_link_create(bpf_program__fd(skel->progs.handler), pfd, in test_perf_link()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.map247 bpf_link_create;
Dbpf.h189 LIBBPF_API int bpf_link_create(int prog_fd, int target_fd,
Dxsk.c535 link_fd = bpf_link_create(ctx->prog_fd, ctx->ifindex, BPF_XDP, &opts); in xsk_create_bpf_link()
757 link_fd = bpf_link_create(prog_fd, ifindex_lo, BPF_XDP, &opts); in xsk_probe_bpf_link()
Dbpf.c673 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() function
Dlibbpf.c4363 link_fd = bpf_link_create(prog_fd, -1, BPF_PERF_EVENT, NULL); in probe_perf_link()
9051 link_fd = bpf_link_create(prog_fd, pfd, BPF_PERF_EVENT, &link_opts); in bpf_program__attach_perf_event_opts()
9572 link_fd = bpf_link_create(prog_fd, target_fd, attach_type, &opts); in bpf_program__attach_fd()
9662 link_fd = bpf_link_create(prog_fd, target_fd, BPF_TRACE_ITER, in bpf_program__attach_iter()