Skip to content

Libbpf userspace function bpf_map__max_entries

0.1.0

Get the maximum number of entries in a BPF map.

Definition

__u32 bpf_map__max_entries(const struct bpf_map *map);

Parameters

  • map: Pointer to the BPF map.

Return

Maximum number of entries in the BPF map.

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