#include <bpf.h>
|
uint32_t | prog_fd |
| File descriptor of program to run.
|
|
uint32_t | retval |
| On return, contains the return value of the program.
|
|
uint32_t | data_size_in |
| Size in bytes of input data.
|
|
uint32_t | data_size_out |
| Size in bytes of output data.
|
|
uint64_t | data_in |
| Pointer to input data.
|
|
uint64_t | data_out |
| Pointer to output data.
|
|
uint32_t | repeat |
| Number of times to repeat the program.
|
|
uint32_t | duration |
| Duration in milliseconds to run the program.
|
|
uint32_t | ctx_size_in |
| Size in bytes of input context.
|
|
uint32_t | ctx_size_out |
| Size in bytes of output context.
|
|
uint64_t | ctx_in |
| Pointer to input context.
|
|
uint64_t | ctx_out |
| Pointer to output context.
|
|
uint32_t | flags |
| Flags (currently 0).
|
|
uint32_t | cpu |
| CPU to run the program on.
|
|
uint32_t | batch_size |
| Number of times to run the program in a batch.
|
|
uint32_t | _pad0 |
|
◆ _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 |
◆ data_out
uint64_t sys_bpf_prog_run_attr_t::data_out |
◆ 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 |
◆ 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: