eBPF for Windows
Data Fields
sys_bpf_prog_load_attr_t Struct Reference

#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...
 

Field Documentation

◆ insn_cnt

uint32_t sys_bpf_prog_load_attr_t::insn_cnt

Number of instructions in the array.

◆ insns

uint64_t sys_bpf_prog_load_attr_t::insns

Array of instructions.

◆ kern_version

uint32_t sys_bpf_prog_load_attr_t::kern_version

Kernel version (currently ignored on Windows).

◆ license

uint64_t sys_bpf_prog_load_attr_t::license

Optional pointer to a string specifying the license (currently ignored on Windows).

◆ log_buf

uint64_t sys_bpf_prog_load_attr_t::log_buf

Pointer to a buffer in which log info can be written.

◆ log_level

uint32_t sys_bpf_prog_load_attr_t::log_level

Logging level (currently ignored on Windows).

◆ log_size

uint32_t sys_bpf_prog_load_attr_t::log_size

Size in bytes of the log buffer.

◆ prog_flags

uint32_t sys_bpf_prog_load_attr_t::prog_flags

Not supported, must be zero.

◆ prog_name

char sys_bpf_prog_load_attr_t::prog_name[SYS_BPF_OBJ_NAME_LEN]

Program name.

◆ prog_type

enum bpf_prog_type sys_bpf_prog_load_attr_t::prog_type

Program type to use for loading the program.


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