pub struct EbpfMapInfo {
pub id: u32,
pub map_type: u32,
pub map_type_name: String,
pub key_size: u32,
pub value_size: u32,
pub max_entries: u32,
pub name: String,
pub is_suspicious: bool,
}Expand description
Information about a loaded eBPF map.
Fields§
§id: u32Unique map ID.
map_type: u32Raw map type integer.
map_type_name: StringHuman-readable map type name.
key_size: u32Key size in bytes.
value_size: u32Value size in bytes.
max_entries: u32Maximum number of entries.
name: StringMap name (BPF_OBJ_NAME_LEN = 16 bytes, null-terminated).
is_suspicious: boolTrue when the map is classified as suspicious.
Trait Implementations§
Source§impl Clone for EbpfMapInfo
impl Clone for EbpfMapInfo
Source§fn clone(&self) -> EbpfMapInfo
fn clone(&self) -> EbpfMapInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EbpfMapInfo
impl Debug for EbpfMapInfo
Auto Trait Implementations§
impl Freeze for EbpfMapInfo
impl RefUnwindSafe for EbpfMapInfo
impl Send for EbpfMapInfo
impl Sync for EbpfMapInfo
impl Unpin for EbpfMapInfo
impl UnsafeUnpin for EbpfMapInfo
impl UnwindSafe for EbpfMapInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more