Struct neli::rtnl::NdaCacheinfo
source · pub struct NdaCacheinfo {
pub ndm_confirmed: u32,
pub ndm_used: u32,
pub ndm_updated: u32,
pub ndm_refcnt: u32,
}
Expand description
Struct representing ARP cache info
Fields§
§ndm_confirmed: u32
Confirmed
ndm_used: u32
Used
ndm_updated: u32
Updated
ndm_refcnt: u32
Reference count
Trait Implementations§
source§impl Debug for NdaCacheinfo
impl Debug for NdaCacheinfo
source§impl<'lifetime> FromBytes<'lifetime> for NdaCacheinfo
impl<'lifetime> FromBytes<'lifetime> for NdaCacheinfo
source§impl Size for NdaCacheinfo
impl Size for NdaCacheinfo
source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.