eBPF for Windows
Data Fields
_ebpf_map_definition_in_file Struct Reference

eBPF Map Definition as it appears in the maps section of an ELF file. More...

#include <ebpf_structs.h>

Data Fields

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...
 
uint32_t inner_map_idx
 
ebpf_pin_type_t pinning
 
uint32_t id
 
uint32_t inner_id
 

Detailed Description

eBPF Map Definition as it appears in the maps section of an ELF file.

Field Documentation

◆ id

uint32_t _ebpf_map_definition_in_file::id

id is the identifier for a map template.

◆ inner_id

uint32_t _ebpf_map_definition_in_file::inner_id

For a map of map, inner_id is the id of the inner map template.

◆ inner_map_idx

uint32_t _ebpf_map_definition_in_file::inner_map_idx

When a map definition is hard coded in an eBPF program, inner_map_idx indicates the 0-based index of which map in the maps section of the ELF file is the inner map template.

◆ key_size

uint32_t _ebpf_map_definition_in_file::key_size

Size in bytes of a map key.

◆ max_entries

uint32_t _ebpf_map_definition_in_file::max_entries

Maximum number of entries allowed in the map.

◆ pinning

ebpf_pin_type_t _ebpf_map_definition_in_file::pinning

◆ type

ebpf_map_type_t _ebpf_map_definition_in_file::type

Type of map.

◆ value_size

uint32_t _ebpf_map_definition_in_file::value_size

Size in bytes of a map value.


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