Struct libbpf_sys::bpf_object_open_opts
source · #[repr(C)]pub struct bpf_object_open_opts {Show 14 fields
pub sz: usize,
pub object_name: *const c_char,
pub relaxed_maps: bool,
pub __bindgen_padding_0: [u8; 7],
pub pin_root_path: *const c_char,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_padding_1: [u8; 4],
pub kconfig: *const c_char,
pub btf_custom_path: *const c_char,
pub kernel_log_buf: *mut c_char,
pub kernel_log_size: usize,
pub kernel_log_level: __u32,
pub __bindgen_padding_2: [u8; 4],
}
Fields§
§sz: usize
§object_name: *const c_char
§relaxed_maps: bool
§__bindgen_padding_0: [u8; 7]
§pin_root_path: *const c_char
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§__bindgen_padding_1: [u8; 4]
§kconfig: *const c_char
§btf_custom_path: *const c_char
§kernel_log_buf: *mut c_char
§kernel_log_size: usize
§kernel_log_level: __u32
§__bindgen_padding_2: [u8; 4]
Implementations§
source§impl bpf_object_open_opts
impl bpf_object_open_opts
pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for bpf_object_open_opts
impl Clone for bpf_object_open_opts
source§fn clone(&self) -> bpf_object_open_opts
fn clone(&self) -> bpf_object_open_opts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more