Struct bcc_sys::bccapi::bpf_map_info [−][src]
#[repr(C)]pub struct bpf_map_info {Show 15 fields
pub type_: __u32,
pub id: __u32,
pub key_size: __u32,
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [c_char; 16],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub netns_dev: __u64,
pub netns_ino: __u64,
pub btf_id: __u32,
pub btf_key_type_id: __u32,
pub btf_value_type_id: __u32,
}
Fields
type_: __u32
id: __u32
key_size: __u32
value_size: __u32
max_entries: __u32
map_flags: __u32
name: [c_char; 16]
ifindex: __u32
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
netns_dev: __u64
netns_ino: __u64
btf_id: __u32
btf_key_type_id: __u32
btf_value_type_id: __u32
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for bpf_map_info
impl Send for bpf_map_info
impl Sync for bpf_map_info
impl Unpin for bpf_map_info
impl UnwindSafe for bpf_map_info
Blanket Implementations
Mutably borrows from an owned value. Read more