Searched refs:bpf_prog_detach_opts (Results 1 – 6 of 6) sorted by relevance
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 16 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in serial_test_tc_opts_basic() 94 err = bpf_prog_detach_opts(fd2, loopback, BPF_TCX_EGRESS, &optd); in serial_test_tc_opts_basic() 101 err = bpf_prog_detach_opts(fd1, loopback, BPF_TCX_INGRESS, &optd); in serial_test_tc_opts_basic() 114 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_tc_opts_before_target() 234 err = bpf_prog_detach_opts(fd4, loopback, target, &optd); in test_tc_opts_before_target() 239 err = bpf_prog_detach_opts(fd3, loopback, target, &optd); in test_tc_opts_before_target() 244 err = bpf_prog_detach_opts(fd2, loopback, target, &optd); in test_tc_opts_before_target() 249 err = bpf_prog_detach_opts(fd1, loopback, target, &optd); in test_tc_opts_before_target() 266 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_tc_opts_after_target() 386 err = bpf_prog_detach_opts(fd4, loopback, target, &optd); in test_tc_opts_after_target() [all …]
|
D | netns_cookie.c | 18 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_netns_cookie() 84 err = bpf_prog_detach_opts(tc_fd, loopback, BPF_TCX_INGRESS, &optd); in test_netns_cookie()
|
D | tc_netkit.c | 433 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in serial_test_tc_netkit_multi_opts_target() 523 err = bpf_prog_detach_opts(fd2, ifindex, target, &optd); in serial_test_tc_netkit_multi_opts_target() 527 err = bpf_prog_detach_opts(fd1, ifindex, target, &optd); in serial_test_tc_netkit_multi_opts_target()
|
/linux-6.14.4/tools/lib/bpf/ |
D | bpf.h | 353 struct bpf_prog_detach_opts { struct 391 LIBBPF_API int bpf_prog_detach_opts(int prog_fd, int target, 393 const struct bpf_prog_detach_opts *opts);
|
D | bpf.c | 678 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_detach_opts() function 679 const struct bpf_prog_detach_opts *opts) in bpf_prog_detach_opts() 686 if (!OPTS_VALID(opts, bpf_prog_detach_opts)) in bpf_prog_detach_opts() 717 return bpf_prog_detach_opts(0, target_fd, type, NULL); in bpf_prog_detach() 722 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL); in bpf_prog_detach2()
|
D | libbpf.map | 397 bpf_prog_detach_opts;
|