eBPF for Windows
|
Metadata table for a module. This structure is returned by the module's metadata function, get_metadata_table and contains information about the module including the list of programs and maps. More...
#include <bpf2c.h>
Data Fields | |
size_t | size |
Size of this structure. Used for versioning. More... | |
void(* | programs )((*count) program_entry_t **programs, size_t *count) |
Returns the list of programs in this module. More... | |
void(* | maps )((*count) map_entry_t **maps, size_t *count) |
Returns the list of maps in this module. More... | |
void(* | hash )((*size) const uint8_t **hash, size_t *size) |
Returns the hash of the ELF file used to generate this module. More... | |
void(* | version )(bpf2c_version_t *version) |
void(* | map_initial_values )((*count) map_initial_values_t **map_initial_values, size_t *count) |
Returns the list of initial values for maps in this module. More... | |
Metadata table for a module. This structure is returned by the module's metadata function, get_metadata_table and contains information about the module including the list of programs and maps.
Returns the hash of the ELF file used to generate this module.
void(* _metadata_table::map_initial_values) ((*count) map_initial_values_t **map_initial_values, size_t *count) |
Returns the list of initial values for maps in this module.
void(* _metadata_table::maps) ((*count) map_entry_t **maps, size_t *count) |
Returns the list of maps in this module.
void(* _metadata_table::programs) ((*count) program_entry_t **programs, size_t *count) |
Returns the list of programs in this module.
size_t _metadata_table::size |
Size of this structure. Used for versioning.
void(* _metadata_table::version) (bpf2c_version_t *version) |