Libbpf userspace function bpf_tc_hook_destroy
Destroy a TC hook created with bpf_tc_hook_create
.
Definition
int bpf_tc_hook_destroy(struct bpf_tc_hook *hook);
Parameters
hook
: Pointer to the TC hook to destroy.
Return
0
on success, or a negative error in case of failure.
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome