[][src]Struct libc::if_data

#[repr(C)]pub struct if_data {
    pub ifi_type: c_uchar,
    pub ifi_typelen: c_uchar,
    pub ifi_physical: c_uchar,
    pub ifi_addrlen: c_uchar,
    pub ifi_hdrlen: c_uchar,
    pub ifi_recvquota: c_uchar,
    pub ifi_xmitquota: c_uchar,
    pub ifi_unused1: c_uchar,
    pub ifi_mtu: u32,
    pub ifi_metric: u32,
    pub ifi_baudrate: u32,
    pub ifi_ipackets: u32,
    pub ifi_ierrors: u32,
    pub ifi_opackets: u32,
    pub ifi_oerrors: u32,
    pub ifi_collisions: u32,
    pub ifi_ibytes: u32,
    pub ifi_obytes: u32,
    pub ifi_imcasts: u32,
    pub ifi_omcasts: u32,
    pub ifi_iqdrops: u32,
    pub ifi_noproto: u32,
    pub ifi_recvtiming: u32,
    pub ifi_xmittiming: u32,
    pub ifi_lastchange: timeval32,
    pub ifi_unused2: u32,
    pub ifi_hwassist: u32,
    pub ifi_reserved1: u32,
    pub ifi_reserved2: u32,
}

Fields

ifi_type: c_ucharifi_typelen: c_ucharifi_physical: c_ucharifi_addrlen: c_ucharifi_hdrlen: c_ucharifi_recvquota: c_ucharifi_xmitquota: c_ucharifi_unused1: c_ucharifi_mtu: u32ifi_metric: u32ifi_baudrate: u32ifi_ipackets: u32ifi_ierrors: u32ifi_opackets: u32ifi_oerrors: u32ifi_collisions: u32ifi_ibytes: u32ifi_obytes: u32ifi_imcasts: u32ifi_omcasts: u32ifi_iqdrops: u32ifi_noproto: u32ifi_recvtiming: u32ifi_xmittiming: u32ifi_lastchange: timeval32ifi_unused2: u32ifi_hwassist: u32ifi_reserved1: u32ifi_reserved2: u32

Trait Implementations

impl Clone for if_data[src]

impl Copy for if_data[src]

Auto Trait Implementations

impl Send for if_data

impl Sync for if_data

impl Unpin for if_data

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.