Struct libbpf_sys::bpf_attr__bindgen_ty_4[][src]

#[repr(C)]
pub struct bpf_attr__bindgen_ty_4 {
Show 24 fields pub prog_type: __u32, pub insn_cnt: __u32, pub insns: __u64, pub license: __u64, pub log_level: __u32, pub log_size: __u32, pub log_buf: __u64, pub kern_version: __u32, pub prog_flags: __u32, pub prog_name: [c_char; 16], pub prog_ifindex: __u32, pub expected_attach_type: __u32, pub prog_btf_fd: __u32, pub func_info_rec_size: __u32, pub func_info: __u64, pub func_info_cnt: __u32, pub line_info_rec_size: __u32, pub line_info: __u64, pub line_info_cnt: __u32, pub attach_btf_id: __u32, pub __bindgen_anon_1: bpf_attr__bindgen_ty_4__bindgen_ty_1, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub fd_array: __u64,
}

Fields

prog_type: __u32insn_cnt: __u32insns: __u64license: __u64log_level: __u32log_size: __u32log_buf: __u64kern_version: __u32prog_flags: __u32prog_name: [c_char; 16]prog_ifindex: __u32expected_attach_type: __u32prog_btf_fd: __u32func_info_rec_size: __u32func_info: __u64func_info_cnt: __u32line_info_rec_size: __u32line_info: __u64line_info_cnt: __u32attach_btf_id: __u32__bindgen_anon_1: bpf_attr__bindgen_ty_4__bindgen_ty_1_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>fd_array: __u64

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.