Skip to content

KFunc bpf_rbtree_right

v6.16

Traverses a RB tree node on the right.

Definition

Returns Pointer to bpf_rb_node of the right entry, or NULL if given node has no right element.

Signature

struct bpf_rb_node *bpf_rbtree_right(struct bpf_rb_root *root, struct bpf_rb_node *node)

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