Skip to content

KFunc bpf_rbtree_root

v6.16

Returns the root of the RB tree.

Definition

Returns Pointer to bpf_rb_node of the root element of the RB tree.

Signature

struct bpf_rb_node *bpf_rbtree_root(struct bpf_rb_root *root)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome