eBPF for Windows
Public Member Functions | Data Fields
_ebpf_test_run_options Struct Reference

#include <ebpf_api.h>

Public Member Functions

 _Readable_bytes_ (data_size_in) const uint8_t *data_in
 Input data to the program. More...
 
 _Writable_bytes_ (data_size_out) uint8_t *data_out
 Output data from the program. More...
 
 _Readable_bytes_ (context_size_in) const uint8_t *context_in
 Input context to the program. More...
 
 _Writable_bytes_ (context_size_out) uint8_t *context_out
 Output context from the program. More...
 

Data Fields

size_t data_size_in
 Size of input data. More...
 
size_t data_size_out
 Maximum length of data_out on input and actual length of data_out on output. More...
 
size_t context_size_in
 Size of input context. More...
 
size_t context_size_out
 Maximum length of context_out on input and actual length of context_out on output. More...
 
uint64_t return_value
 Return value from the program. More...
 
size_t repeat_count
 Number of times to repeat the program. More...
 
uint64_t duration
 Duration in nanoseconds of the program execution. More...
 
uint32_t flags
 Flags to control the test run. More...
 
uint32_t cpu
 CPU to run the program on. More...
 
size_t batch_size
 Number of times to repeat the program in a batch. More...
 

Member Function Documentation

◆ _Readable_bytes_() [1/2]

_ebpf_test_run_options::_Readable_bytes_ ( context_size_in  ) const

Input context to the program.

◆ _Readable_bytes_() [2/2]

_ebpf_test_run_options::_Readable_bytes_ ( data_size_in  ) const

Input data to the program.

◆ _Writable_bytes_() [1/2]

_ebpf_test_run_options::_Writable_bytes_ ( context_size_out  )

Output context from the program.

◆ _Writable_bytes_() [2/2]

_ebpf_test_run_options::_Writable_bytes_ ( data_size_out  )

Output data from the program.

Field Documentation

◆ batch_size

size_t _ebpf_test_run_options::batch_size

Number of times to repeat the program in a batch.

◆ context_size_in

size_t _ebpf_test_run_options::context_size_in

Size of input context.

◆ context_size_out

size_t _ebpf_test_run_options::context_size_out

Maximum length of context_out on input and actual length of context_out on output.

◆ cpu

uint32_t _ebpf_test_run_options::cpu

CPU to run the program on.

◆ data_size_in

size_t _ebpf_test_run_options::data_size_in

Size of input data.

◆ data_size_out

size_t _ebpf_test_run_options::data_size_out

Maximum length of data_out on input and actual length of data_out on output.

◆ duration

uint64_t _ebpf_test_run_options::duration

Duration in nanoseconds of the program execution.

◆ flags

uint32_t _ebpf_test_run_options::flags

Flags to control the test run.

◆ repeat_count

size_t _ebpf_test_run_options::repeat_count

Number of times to repeat the program.

◆ return_value

uint64_t _ebpf_test_run_options::return_value

Return value from the program.


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