Skip to content

KFunc bpf_iter_num_destroy

v6.4

This kfunc destroys the iterator it.

Definition

This kfunc destroys the iterator it, the iterator can be reused, but as to be re-initialized with bpf_iter_num_new before being used again.

void bpf_iter_num_destroy(struct bpf_iter_num *it)

Usage

See bpf_iter_num_new for usage details.

Program types

The following program types can make use of this kfunc:

Example

See bpf_iter_num_new for examples.