#[repr(C)]pub struct if_msghdrl {
pub ifm_msglen: c_ushort,
pub ifm_version: c_uchar,
pub ifm_type: c_uchar,
pub ifm_addrs: c_int,
pub ifm_flags: c_int,
pub ifm_index: c_ushort,
pub _ifm_spare1: c_ushort,
pub ifm_len: c_ushort,
pub ifm_data_off: c_ushort,
pub _ifm_spare2: c_int,
pub ifm_data: if_data,
}Fields§
§ifm_msglen: c_ushortto skip over non-understood messages
ifm_version: c_ucharfuture binary compatibility
ifm_type: c_ucharmessage type
ifm_addrs: c_intlike rtm_addrs
ifm_flags: c_intvalue of if_flags
ifm_index: c_ushortindex for associated ifp
_ifm_spare1: c_ushortspare space to grow if_index, see if_var.h
ifm_len: c_ushortlength of if_msghdrl incl. if_data
ifm_data_off: c_ushortoffset of if_data from beginning
_ifm_spare2: c_int§ifm_data: if_datastatistics and other data about if
Trait Implementations§
Source§impl Clone for if_msghdrl
impl Clone for if_msghdrl
Source§fn clone(&self) -> if_msghdrl
fn clone(&self) -> if_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 if_msghdrl
impl Debug for if_msghdrl
impl Copy for if_msghdrl
Auto Trait Implementations§
impl Freeze for if_msghdrl
impl RefUnwindSafe for if_msghdrl
impl Send for if_msghdrl
impl Sync for if_msghdrl
impl Unpin for if_msghdrl
impl UnwindSafe for if_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