Searched refs:bpf_prog_detach_opts (Results 1 - 2 of 2) sorted by relevance
/third_party/libbpf/src/ |
H A D | bpf.h | 335 struct bpf_prog_detach_opts { struct 362 * @brief **bpf_prog_detach_opts()** detaches the BPF program corresponding to 373 LIBBPF_API int bpf_prog_detach_opts(int prog_fd, int target, 375 const struct bpf_prog_detach_opts *opts);
|
H A D | bpf.c | 670 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_detach_opts() function 671 const struct bpf_prog_detach_opts *opts) in bpf_prog_detach_opts() 678 if (!OPTS_VALID(opts, bpf_prog_detach_opts)) in bpf_prog_detach_opts() 709 return bpf_prog_detach_opts(0, target_fd, type, NULL); in bpf_prog_detach() 714 return bpf_prog_detach_opts(prog_fd, target_fd, type, NULL); in bpf_prog_detach2()
|
Completed in 4 milliseconds