Skip to content

KFunc bpf_list_front

v6.16

Traverses the linked list forwards.

Definition

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

Signature

struct bpf_list_node *bpf_list_front(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