eBPF for Windows
Loading...
Searching...
No Matches
bpf_map_info Struct Reference

eBPF map information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a map fd. More...

#include <ebpf_structs.h>

Data Fields

ebpf_id_t id
 Map ID.
ebpf_map_type_t type
 Type of map.
uint32_t key_size
 Size in bytes of a map key.
uint32_t value_size
 Size in bytes of a map value.
uint32_t max_entries
 Configured entry-count limit; not enforced with BPF_F_NO_MAX_ENTRIES.
char name [BPF_OBJ_NAME_LEN]
 Null-terminated map name.
uint32_t map_flags
 Map flags.
ebpf_id_t inner_map_id
 ID of inner map template.
uint32_t pinned_path_count
 Number of pinned paths.

Detailed Description

eBPF map information. This structure can be retrieved by calling bpf_obj_get_info_by_fd on a map fd.

Field Documentation

◆ id

ebpf_id_t bpf_map_info::id

Map ID.

◆ inner_map_id

ebpf_id_t bpf_map_info::inner_map_id

ID of inner map template.

◆ key_size

uint32_t bpf_map_info::key_size

Size in bytes of a map key.

◆ map_flags

uint32_t bpf_map_info::map_flags

Map flags.

◆ max_entries

uint32_t bpf_map_info::max_entries

Configured entry-count limit; not enforced with BPF_F_NO_MAX_ENTRIES.

◆ name

char bpf_map_info::name[BPF_OBJ_NAME_LEN]

Null-terminated map name.

◆ pinned_path_count

uint32_t bpf_map_info::pinned_path_count

Number of pinned paths.

◆ type

ebpf_map_type_t bpf_map_info::type

Type of map.

◆ value_size

uint32_t bpf_map_info::value_size

Size in bytes of a map value.


The documentation for this struct was generated from the following file: