Searched refs:bpf_prog_detach_opts (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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 …]
|
H A D | tc_netkit.c | 423 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in serial_test_tc_netkit_multi_opts_target() 513 err = bpf_prog_detach_opts(fd2, ifindex, target, &optd); in serial_test_tc_netkit_device() 517 err = bpf_prog_detach_opts(fd1, ifindex, target, &optd); in serial_test_tc_netkit_device()
|
/linux/tools/lib/bpf/ |
H A D | bpf.h | 350 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);
|
H A D | libbpf.map | 397 bpf_prog_detach_opts;
|