#[repr(C)]
pub struct bpf_attr__bindgen_ty_4 {
Show 26 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 core_relo_cnt: __u32, pub fd_array: __u64, pub core_relos: __u64, pub core_relo_rec_size: __u32, pub __bindgen_padding_0: [u8; 4],
}

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_1core_relo_cnt: __u32fd_array: __u64core_relos: __u64core_relo_rec_size: __u32__bindgen_padding_0: [u8; 4]

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.