Struct libbpf_sys::btf_header
source · #[repr(C)]pub struct btf_header {
pub magic: __u16,
pub version: __u8,
pub flags: __u8,
pub hdr_len: __u32,
pub type_off: __u32,
pub type_len: __u32,
pub str_off: __u32,
pub str_len: __u32,
}
Fields§
§magic: __u16
§version: __u8
§flags: __u8
§hdr_len: __u32
§type_off: __u32
§type_len: __u32
§str_off: __u32
§str_len: __u32
Trait Implementations§
source§impl Clone for btf_header
impl Clone for btf_header
source§fn clone(&self) -> btf_header
fn clone(&self) -> btf_header
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 moresource§impl Debug for btf_header
impl Debug for btf_header
source§impl Default for btf_header
impl Default for btf_header
source§fn default() -> btf_header
fn default() -> btf_header
Returns the “default value” for a type. Read more