Skip to content

Libbpf userspace function bpf_map__value_size

0.1.0

Get the size of the value of a BPF map.

Definition

__u32 bpf_map__value_size(const struct bpf_map *map);

Parameters

  • map: Pointer to the BPF map.

Return

Size of the value of the map in bytes.

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome