eBPF for Windows
Data Fields
sys_bpf_prog_run_attr_t Struct Reference

#include <bpf.h>

Data Fields

uint32_t prog_fd
 File descriptor of program to run. More...
 
uint32_t retval
 On return, contains the return value of the program. More...
 
uint32_t data_size_in
 Size in bytes of input data. More...
 
uint32_t data_size_out
 Size in bytes of output data. More...
 
uint64_t data_in
 Pointer to input data. More...
 
uint64_t data_out
 Pointer to output data. More...
 
uint32_t repeat
 Number of times to repeat the program. More...
 
uint32_t duration
 Duration in milliseconds to run the program. More...
 
uint32_t ctx_size_in
 Size in bytes of input context. More...
 
uint32_t ctx_size_out
 Size in bytes of output context. More...
 
uint64_t ctx_in
 Pointer to input context. More...
 
uint64_t ctx_out
 Pointer to output context. More...
 
uint32_t flags
 Flags (currently 0). More...
 
uint32_t cpu
 CPU to run the program on. More...
 
uint32_t batch_size
 Number of times to run the program in a batch. More...
 
uint32_t _pad0
 

Field Documentation

◆ _pad0

uint32_t sys_bpf_prog_run_attr_t::_pad0

◆ batch_size

uint32_t sys_bpf_prog_run_attr_t::batch_size

Number of times to run the program in a batch.

◆ cpu

uint32_t sys_bpf_prog_run_attr_t::cpu

CPU to run the program on.

◆ ctx_in

uint64_t sys_bpf_prog_run_attr_t::ctx_in

Pointer to input context.

◆ ctx_out

uint64_t sys_bpf_prog_run_attr_t::ctx_out

Pointer to output context.

◆ ctx_size_in

uint32_t sys_bpf_prog_run_attr_t::ctx_size_in

Size in bytes of input context.

◆ ctx_size_out

uint32_t sys_bpf_prog_run_attr_t::ctx_size_out

Size in bytes of output context.

◆ data_in

uint64_t sys_bpf_prog_run_attr_t::data_in

Pointer to input data.

◆ data_out

uint64_t sys_bpf_prog_run_attr_t::data_out

Pointer to output data.

◆ data_size_in

uint32_t sys_bpf_prog_run_attr_t::data_size_in

Size in bytes of input data.

◆ data_size_out

uint32_t sys_bpf_prog_run_attr_t::data_size_out

Size in bytes of output data.

◆ duration

uint32_t sys_bpf_prog_run_attr_t::duration

Duration in milliseconds to run the program.

◆ flags

uint32_t sys_bpf_prog_run_attr_t::flags

Flags (currently 0).

◆ prog_fd

uint32_t sys_bpf_prog_run_attr_t::prog_fd

File descriptor of program to run.

◆ repeat

uint32_t sys_bpf_prog_run_attr_t::repeat

Number of times to repeat the program.

◆ retval

uint32_t sys_bpf_prog_run_attr_t::retval

On return, contains the return value of the program.


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