|
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. | |
| void(* | programs )((*count) program_entry_t **programs, size_t *count) |
| Returns the list of programs in this module. | |
| void(* | maps )((*count) map_entry_t **maps, size_t *count) |
| Returns the list of maps in this module. | |
| void(* | hash )((*size) const uint8_t **hash, size_t *size) |
| Returns the hash of the ELF file used to generate this module. | |
| 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. | |
| void(* | global_variable_sections )((*count) global_variable_section_info_t **global_variable_sections, size_t *count) |
| Returns the list of global variables in this module. | |
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.
| void(* _metadata_table::global_variable_sections) ((*count) global_variable_section_info_t **global_variable_sections, size_t *count) |
Returns the list of global variables in this module.
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) |