KFunc bpf_list_is_last
Check if a node is the last node of a list.
Definition
Parameters
head: The list in which to check for node__nonown_allowed
node__nonown_allowed: The node we want to know is last or not.
Returns
true if node__nonown_allowed is the last node of head.
Signature
bool bpf_list_is_last(struct bpf_list_head *head, struct bpf_list_node *node__nonown_allowed)
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