eBPF for Windows
Macros | Typedefs | Functions | Variables
ebpf_store_helper.h File Reference
#include "ebpf_program_types.h"
#include "ebpf_shared_framework.h"
#include "ebpf_windows.h"
#include <minwindef.h>
#include <wdm.h>

Go to the source code of this file.

Macros

#define GUID_STRING_LENGTH   38
 

Typedefs

typedef HKEY ebpf_store_key_t
 

Functions

ebpf_result_t ebpf_store_update_helper_prototype (ebpf_store_key_t helper_info_key, const ebpf_helper_function_prototype_t *helper_info)
 Update the provider prototype information in the eBPF store. More...
 
ebpf_result_t ebpf_store_update_global_helper_information (_In_reads_(helper_info_count) ebpf_helper_function_prototype_t *helper_info, uint32_t helper_info_count)
 Update global helper information in the eBPF store. More...
 
ebpf_result_t ebpf_store_update_section_information (_In_reads_(section_info_count) const ebpf_program_section_info_t *section_info, uint32_t section_info_count)
 Update section information in the eBPF store. More...
 
ebpf_result_t ebpf_store_update_program_information (_In_reads_(program_info_count) const ebpf_program_info_t *program_info, uint32_t program_info_count)
 Update program information in the eBPF store. More...
 

Variables

ebpf_store_key_t ebpf_store_root_key
 
const wchar_t * ebpf_store_root_sub_key
 

Macro Definition Documentation

◆ GUID_STRING_LENGTH

#define GUID_STRING_LENGTH   38

Typedef Documentation

◆ ebpf_store_key_t

typedef HKEY ebpf_store_key_t

Function Documentation

◆ ebpf_store_update_global_helper_information()

ebpf_result_t ebpf_store_update_global_helper_information ( _In_reads_(helper_info_count) ebpf_helper_function_prototype_t helper_info,
uint32_t  helper_info_count 
)

Update global helper information in the eBPF store.

Parameters
[in]helper_infoPointer to an array of helper function prototypes.
[in]helper_info_countCount of helper function prototypes.
Returns
Status of the operation.

◆ ebpf_store_update_helper_prototype()

ebpf_result_t ebpf_store_update_helper_prototype ( ebpf_store_key_t  helper_info_key,
const ebpf_helper_function_prototype_t helper_info 
)

Update the provider prototype information in the eBPF store.

Parameters
[in]helper_info_keyPointer to the store key to be initialized.
[in]helper_infoPointer to the helper function prototype.
Returns
Status of the operation.

◆ ebpf_store_update_program_information()

ebpf_result_t ebpf_store_update_program_information ( _In_reads_(program_info_count) const ebpf_program_info_t program_info,
uint32_t  program_info_count 
)

Update program information in the eBPF store.

Parameters
[in]program_infoPointer to an array of program information.
[in]program_info_countCount of program information entries.
Returns
Status of the operation.

◆ ebpf_store_update_section_information()

ebpf_result_t ebpf_store_update_section_information ( _In_reads_(section_info_count) const ebpf_program_section_info_t section_info,
uint32_t  section_info_count 
)

Update section information in the eBPF store.

Parameters
[in]section_infoPointer to an array of section information.
[in]section_info_countCount of section information entries.
Returns
Status of the operation.

Variable Documentation

◆ ebpf_store_root_key

ebpf_store_key_t ebpf_store_root_key
extern

◆ ebpf_store_root_sub_key

const wchar_t* ebpf_store_root_sub_key
extern