eBPF for Windows
Data Structures | Macros | Typedefs
ebpf_program_types.h File Reference
#include "ebpf_base.h"
#include "ebpf_result.h"
#include "ebpf_windows.h"

Go to the source code of this file.

Data Structures

struct  _ebpf_program_type_descriptor
 
struct  _ebpf_helper_function_prototype_flags
 
struct  _ebpf_helper_function_prototype
 
struct  _ebpf_program_info
 
struct  _ebpf_helper_function_addresses
 
union  _program_data_capabilities
 
struct  _ebpf_program_data
 
struct  _ebpf_program_section_info
 

Macros

#define EBPF_MAX_PROGRAM_DESCRIPTOR_NAME_LENGTH   256
 
#define EBPF_MAX_HELPER_FUNCTION_NAME_LENGTH   256
 

Typedefs

typedef struct _ebpf_program_type_descriptor ebpf_program_type_descriptor_t
 
typedef struct _ebpf_helper_function_prototype_flags ebpf_helper_function_prototype_flags_t
 
typedef struct _ebpf_helper_function_prototype ebpf_helper_function_prototype_t
 
typedef struct _ebpf_program_info ebpf_program_info_t
 
typedef struct _ebpf_helper_function_addresses ebpf_helper_function_addresses_t
 
typedef ebpf_result_t(* ebpf_program_context_create_t) (_In_reads_bytes_opt_(data_size_in) const uint8_t *data_in, size_t data_size_in, _In_reads_bytes_opt_(context_size_in) const uint8_t *context_in, size_t context_size_in, void **context)
 
typedef void(* ebpf_program_context_destroy_t) (void *context, _Out_writes_bytes_to_opt_(*data_size_out, *data_size_out) uint8_t *data_out, _Inout_ size_t *data_size_out, _Out_writes_bytes_to_opt_(*context_size_out, *context_size_out) uint8_t *context_out, _Inout_ size_t *context_size_out)
 
typedef union _program_data_capabilities program_data_capabilities_t
 
typedef struct _ebpf_program_data ebpf_program_data_t
 
typedef struct _ebpf_program_section_info ebpf_program_section_info_t
 

Macro Definition Documentation

◆ EBPF_MAX_HELPER_FUNCTION_NAME_LENGTH

#define EBPF_MAX_HELPER_FUNCTION_NAME_LENGTH   256

◆ EBPF_MAX_PROGRAM_DESCRIPTOR_NAME_LENGTH

#define EBPF_MAX_PROGRAM_DESCRIPTOR_NAME_LENGTH   256

Typedef Documentation

◆ ebpf_helper_function_addresses_t

◆ ebpf_helper_function_prototype_flags_t

◆ ebpf_helper_function_prototype_t

◆ ebpf_program_context_create_t

typedef ebpf_result_t(* ebpf_program_context_create_t) (_In_reads_bytes_opt_(data_size_in) const uint8_t *data_in, size_t data_size_in, _In_reads_bytes_opt_(context_size_in) const uint8_t *context_in, size_t context_size_in, void **context)

◆ ebpf_program_context_destroy_t

typedef void(* ebpf_program_context_destroy_t) (void *context, _Out_writes_bytes_to_opt_(*data_size_out, *data_size_out) uint8_t *data_out, _Inout_ size_t *data_size_out, _Out_writes_bytes_to_opt_(*context_size_out, *context_size_out) uint8_t *context_out, _Inout_ size_t *context_size_out)

◆ ebpf_program_data_t

◆ ebpf_program_info_t

◆ ebpf_program_section_info_t

◆ ebpf_program_type_descriptor_t

◆ program_data_capabilities_t