eBPF for Windows
Data Fields
_program_entry Struct Reference

Program entry. This structure contains the address of the program and additional information about the program. More...

#include <bpf2c.h>

Data Fields

uint64_t zero
 
uint64_t(* function )(void *)
 Address of the program. More...
 
const char * pe_section_name
 Name of the PE section containing the program. More...
 
const char * section_name
 Name of the section containing the program. More...
 
const char * program_name
 Name of the program. More...
 
uint16_t * referenced_map_indices
 List of map indices referenced by the program. More...
 
uint16_t referenced_map_count
 Number of maps referenced by the program. More...
 
helper_function_entry_thelpers
 List of helper functions used by the program. More...
 
uint16_t helper_count
 Number of helper functions used by the program. More...
 
size_t bpf_instruction_count
 Number of BPF instructions in the program. More...
 
ebpf_program_type_tprogram_type
 Type of the program. More...
 
ebpf_attach_type_texpected_attach_type
 Expected attach type of the program. More...
 
const uint8_t * program_info_hash
 Hash of the program info. More...
 
size_t program_info_hash_length
 Length of the program info hash. More...
 
const char * program_info_hash_type
 Type of the program info hash. More...
 

Detailed Description

Program entry. This structure contains the address of the program and additional information about the program.

Field Documentation

◆ bpf_instruction_count

size_t _program_entry::bpf_instruction_count

Number of BPF instructions in the program.

◆ expected_attach_type

ebpf_attach_type_t* _program_entry::expected_attach_type

Expected attach type of the program.

◆ function

uint64_t(* _program_entry::function) (void *)

Address of the program.

◆ helper_count

uint16_t _program_entry::helper_count

Number of helper functions used by the program.

◆ helpers

helper_function_entry_t* _program_entry::helpers

List of helper functions used by the program.

◆ pe_section_name

const char* _program_entry::pe_section_name

Name of the PE section containing the program.

◆ program_info_hash

const uint8_t* _program_entry::program_info_hash

Hash of the program info.

◆ program_info_hash_length

size_t _program_entry::program_info_hash_length

Length of the program info hash.

◆ program_info_hash_type

const char* _program_entry::program_info_hash_type

Type of the program info hash.

◆ program_name

const char* _program_entry::program_name

Name of the program.

◆ program_type

ebpf_program_type_t* _program_entry::program_type

Type of the program.

◆ referenced_map_count

uint16_t _program_entry::referenced_map_count

Number of maps referenced by the program.

◆ referenced_map_indices

uint16_t* _program_entry::referenced_map_indices

List of map indices referenced by the program.

◆ section_name

const char* _program_entry::section_name

Name of the section containing the program.

◆ zero

uint64_t _program_entry::zero

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