Skip to content

Libbpf userspace function bpf_map__key_size

0.1.0

Get the size of the key of a BPF map.

Definition

__u32 bpf_map__key_size(const struct bpf_map *map);

Parameters

  • map: Pointer to the BPF map.

Return

Size of the key of the 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