eBPF for Windows
Data Fields
bpf_load_program_attr Struct Reference

#include <bpf_legacy.h>

Data Fields

enum bpf_prog_type prog_type
 
enum bpf_attach_type expected_attach_type
 
const char * name
 
const struct bpf_insn * insns
 
size_t insns_cnt
 
const char * license
 
union {
   __u32   kern_version
 
   __u32   attach_prog_fd
 
}; 
 
union {
   __u32   prog_ifindex
 
   __u32   attach_btf_id
 
}; 
 
__u32 prog_btf_fd
 
__u32 func_info_rec_size
 
const void * func_info
 
__u32 func_info_cnt
 
__u32 line_info_rec_size
 
const void * line_info
 
__u32 line_info_cnt
 
__u32 log_level
 
__u32 prog_flags
 

Field Documentation

◆ 

union { ... }

◆ 

union { ... }

◆ attach_btf_id

__u32 bpf_load_program_attr::attach_btf_id

◆ attach_prog_fd

__u32 bpf_load_program_attr::attach_prog_fd

◆ expected_attach_type

enum bpf_attach_type bpf_load_program_attr::expected_attach_type

◆ func_info

const void* bpf_load_program_attr::func_info

◆ func_info_cnt

__u32 bpf_load_program_attr::func_info_cnt

◆ func_info_rec_size

__u32 bpf_load_program_attr::func_info_rec_size

◆ insns

const struct bpf_insn* bpf_load_program_attr::insns

◆ insns_cnt

size_t bpf_load_program_attr::insns_cnt

◆ kern_version

__u32 bpf_load_program_attr::kern_version

◆ license

const char* bpf_load_program_attr::license

◆ line_info

const void* bpf_load_program_attr::line_info

◆ line_info_cnt

__u32 bpf_load_program_attr::line_info_cnt

◆ line_info_rec_size

__u32 bpf_load_program_attr::line_info_rec_size

◆ log_level

__u32 bpf_load_program_attr::log_level

◆ name

const char* bpf_load_program_attr::name

◆ prog_btf_fd

__u32 bpf_load_program_attr::prog_btf_fd

◆ prog_flags

__u32 bpf_load_program_attr::prog_flags

◆ prog_ifindex

__u32 bpf_load_program_attr::prog_ifindex

◆ prog_type

enum bpf_prog_type bpf_load_program_attr::prog_type

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