Skip to content

KFunc bpf_list_back

v6.16

Traverses the linked list backwards.

Definition

Returns Pointer to bpf_list_node of previous entry, or NULL if list given node has no previous element.

Signature

struct bpf_list_node *bpf_list_back(struct bpf_list_head *head)

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