eBPF for Windows
|
#include <bpf.h>
Data Fields | |
enum bpf_prog_type | prog_type |
Program type to use for loading the program. More... | |
uint32_t | insn_cnt |
Number of instructions in the array. More... | |
uint64_t | insns |
Array of instructions. More... | |
uint64_t | license |
Optional pointer to a string specifying the license (currently ignored on Windows). More... | |
uint32_t | log_level |
Logging level (currently ignored on Windows). More... | |
uint32_t | log_size |
Size in bytes of the log buffer. More... | |
uint64_t | log_buf |
Pointer to a buffer in which log info can be written. More... | |
uint32_t | kern_version |
Kernel version (currently ignored on Windows). More... | |
uint32_t | prog_flags |
Not supported, must be zero. More... | |
char | prog_name [SYS_BPF_OBJ_NAME_LEN] |
Program name. More... | |
uint32_t sys_bpf_prog_load_attr_t::insn_cnt |
Number of instructions in the array.
uint64_t sys_bpf_prog_load_attr_t::insns |
Array of instructions.
uint32_t sys_bpf_prog_load_attr_t::kern_version |
Kernel version (currently ignored on Windows).
uint64_t sys_bpf_prog_load_attr_t::license |
Optional pointer to a string specifying the license (currently ignored on Windows).
uint64_t sys_bpf_prog_load_attr_t::log_buf |
Pointer to a buffer in which log info can be written.
uint32_t sys_bpf_prog_load_attr_t::log_level |
Logging level (currently ignored on Windows).
uint32_t sys_bpf_prog_load_attr_t::log_size |
Size in bytes of the log buffer.
uint32_t sys_bpf_prog_load_attr_t::prog_flags |
Not supported, must be zero.
char sys_bpf_prog_load_attr_t::prog_name[SYS_BPF_OBJ_NAME_LEN] |
Program name.
enum bpf_prog_type sys_bpf_prog_load_attr_t::prog_type |
Program type to use for loading the program.