Struct bpf_sys::bpf_prog_load_attr [−][src]
#[repr(C)]pub struct bpf_prog_load_attr {
pub file: *const c_char,
pub prog_type: bpf_prog_type,
pub expected_attach_type: bpf_attach_type,
pub ifindex: c_int,
pub log_level: c_int,
pub prog_flags: c_int,
}
Fields
file: *const c_char
prog_type: bpf_prog_type
expected_attach_type: bpf_attach_type
ifindex: c_int
log_level: c_int
prog_flags: c_int
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for bpf_prog_load_attr
impl !Send for bpf_prog_load_attr
impl !Sync for bpf_prog_load_attr
impl Unpin for bpf_prog_load_attr
impl UnwindSafe for bpf_prog_load_attr
Blanket Implementations
Mutably borrows from an owned value. Read more