|
eBPF for Windows
|
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. | |
| 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 |
| Entry-count limit, or initial bucket-count hint with BPF_F_NO_MAX_ENTRIES. | |
| uint32_t | inner_map_idx |
| ebpf_pin_type_t | pinning |
| uint32_t | id |
| uint32_t | inner_id |
| uint32_t | map_flags |
| Map creation flags. | |
eBPF Map Definition as it appears in the maps section of an ELF file.
| uint32_t _ebpf_map_definition_in_file::id |
id is the identifier for a map template.
| uint32_t _ebpf_map_definition_in_file::inner_id |
For a map of map, inner_id is the id of the inner map template.
| 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.
| uint32_t _ebpf_map_definition_in_file::key_size |
Size in bytes of a map key.
| uint32_t _ebpf_map_definition_in_file::map_flags |
Map creation flags.
| uint32_t _ebpf_map_definition_in_file::max_entries |
Entry-count limit, or initial bucket-count hint with BPF_F_NO_MAX_ENTRIES.
| ebpf_pin_type_t _ebpf_map_definition_in_file::pinning |
| ebpf_map_type_t _ebpf_map_definition_in_file::type |
Type of map.
| uint32_t _ebpf_map_definition_in_file::value_size |
Size in bytes of a map value.