Skip to content

KFunc bpf_dynptr_size

v6.5

Returns the number of usable bytes in a dynptr.

Definition

__u32 bpf_dynptr_size(const struct bpf_dynptr *p)

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