Searched refs:bpf_prog_detach_opts (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_opts.c | 16 LIBBPF_OPTS(bpf_prog_detach_opts, optd); 94 err = bpf_prog_detach_opts(fd2, loopback, BPF_TCX_EGRESS, &optd); 101 err = bpf_prog_detach_opts(fd1, loopback, BPF_TCX_INGRESS, &optd); 114 LIBBPF_OPTS(bpf_prog_detach_opts, optd); 234 err = bpf_prog_detach_opts(fd4, loopback, target, &optd); 239 err = bpf_prog_detach_opts(fd3, loopback, target, &optd); 244 err = bpf_prog_detach_opts(fd2, loopback, target, &optd); 249 err = bpf_prog_detach_opts(fd1, loopback, target, &optd); 266 LIBBPF_OPTS(bpf_prog_detach_opts, optd); 386 err = bpf_prog_detach_opts(fd [all...] |
H A D | tc_netkit.c | 388 LIBBPF_OPTS(bpf_prog_detach_opts, optd); 477 err = bpf_prog_detach_opts(fd2, ifindex, target, &optd); 481 err = bpf_prog_detach_opts(fd1, ifindex, target, &optd);
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.h | 350 struct bpf_prog_detach_opts { struct 377 * @brief **bpf_prog_detach_opts()** detaches the BPF program corresponding to 388 LIBBPF_API int bpf_prog_detach_opts(int prog_fd, int target, 390 const struct bpf_prog_detach_opts *opts);
|
H A D | bpf.c | 677 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, function 678 const struct bpf_prog_detach_opts *opts) 685 if (!OPTS_VALID(opts, bpf_prog_detach_opts)) 716 return bpf_prog_detach_opts(0, target_fd, type, NULL); 721 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL);
|
Completed in 143 milliseconds