Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_opts.c16 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 …]
Dtc_netkit.c408 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in serial_test_tc_netkit_multi_opts_target()
497 err = bpf_prog_detach_opts(fd2, ifindex, target, &optd); in serial_test_tc_netkit_multi_opts_target()
501 err = bpf_prog_detach_opts(fd1, ifindex, target, &optd); in serial_test_tc_netkit_multi_opts_target()
/linux-6.12.1/tools/lib/bpf/
Dbpf.h350 struct bpf_prog_detach_opts { struct
388 LIBBPF_API int bpf_prog_detach_opts(int prog_fd, int target,
390 const struct bpf_prog_detach_opts *opts);
Dbpf.c677 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_detach_opts() function
678 const struct bpf_prog_detach_opts *opts) in bpf_prog_detach_opts()
685 if (!OPTS_VALID(opts, bpf_prog_detach_opts)) in bpf_prog_detach_opts()
716 return bpf_prog_detach_opts(0, target_fd, type, NULL); in bpf_prog_detach()
721 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL); in bpf_prog_detach2()
Dlibbpf.map397 bpf_prog_detach_opts;