#[repr(C)]pub struct ifa_msghdrl {
pub ifam_msglen: c_ushort,
pub ifam_version: c_uchar,
pub ifam_type: c_uchar,
pub ifam_addrs: c_int,
pub ifam_flags: c_int,
pub ifam_index: c_ushort,
pub _ifam_spare1: c_ushort,
pub ifam_len: c_ushort,
pub ifam_data_off: c_ushort,
pub ifam_metric: c_int,
pub ifam_data: if_data,
}Fields§
§ifam_msglen: c_ushortto skip over non-understood messages
ifam_version: c_ucharfuture binary compatibility
ifam_type: c_ucharmessage type
ifam_addrs: c_intlike rtm_addrs
ifam_flags: c_intvalue of ifa_flags
ifam_index: c_ushortindex for associated ifp
_ifam_spare1: c_ushortspare space to grow if_index, see if_var.h
ifam_len: c_ushortlength of ifa_msghdrl incl. if_data
ifam_data_off: c_ushortoffset of if_data from beginning
ifam_metric: c_intvalue of ifa_ifp->if_metric
ifam_data: if_datastatistics and other data about if or address
Trait Implementations§
Source§impl Clone for ifa_msghdrl
impl Clone for ifa_msghdrl
Source§fn clone(&self) -> ifa_msghdrl
fn clone(&self) -> ifa_msghdrl
Returns a duplicate 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 ifa_msghdrl
impl Debug for ifa_msghdrl
impl Copy for ifa_msghdrl
Auto Trait Implementations§
impl Freeze for ifa_msghdrl
impl RefUnwindSafe for ifa_msghdrl
impl Send for ifa_msghdrl
impl Sync for ifa_msghdrl
impl Unpin for ifa_msghdrl
impl UnwindSafe for ifa_msghdrl
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