eBPF for Windows
Data Fields
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. More...
 
ebpf_map_type_t type
 Type of map. More...
 
uint32_t key_size
 Size in bytes of a map key. More...
 
uint32_t value_size
 Size in bytes of a map value. More...
 
uint32_t max_entries
 Maximum number of entries allowed in the map. More...
 
char name [BPF_OBJ_NAME_LEN]
 Null-terminated map name. More...
 
uint32_t map_flags
 Map flags. More...
 
ebpf_id_t inner_map_id
 ID of inner map template. More...
 
uint32_t pinned_path_count
 Number of pinned paths. More...
 

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

Maximum number of entries allowed in the map.

◆ 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: