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

Map initial values. This structure contains the initial values for a map. The values are used to initialize the map when the program is loaded. Values are specified as strings and are converted to the appropriate type based on the map definition. Only BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_PROG_ARRAY map types are supported. More...

#include <bpf2c.h>

Data Fields

ebpf_native_module_header_t header
const char * name
size_t count
const char ** values

Detailed Description

Map initial values. This structure contains the initial values for a map. The values are used to initialize the map when the program is loaded. Values are specified as strings and are converted to the appropriate type based on the map definition. Only BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_PROG_ARRAY map types are supported.

Field Documentation

◆ count

size_t _map_initial_values::count

◆ header

ebpf_native_module_header_t _map_initial_values::header

◆ name

const char* _map_initial_values::name

◆ values

const char** _map_initial_values::values

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