Skip to content

Libbpf userspace function bpf_tc_hook_destroy

0.4.0

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