[][src]Struct jl_sys::tcp_info

#[repr(C)]pub struct tcp_info {
    pub tcpi_state: u8,
    pub tcpi_ca_state: u8,
    pub tcpi_retransmits: u8,
    pub tcpi_probes: u8,
    pub tcpi_backoff: u8,
    pub tcpi_options: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub tcpi_rto: u32,
    pub tcpi_ato: u32,
    pub tcpi_snd_mss: u32,
    pub tcpi_rcv_mss: u32,
    pub tcpi_unacked: u32,
    pub tcpi_sacked: u32,
    pub tcpi_lost: u32,
    pub tcpi_retrans: u32,
    pub tcpi_fackets: u32,
    pub tcpi_last_data_sent: u32,
    pub tcpi_last_ack_sent: u32,
    pub tcpi_last_data_recv: u32,
    pub tcpi_last_ack_recv: u32,
    pub tcpi_pmtu: u32,
    pub tcpi_rcv_ssthresh: u32,
    pub tcpi_rtt: u32,
    pub tcpi_rttvar: u32,
    pub tcpi_snd_ssthresh: u32,
    pub tcpi_snd_cwnd: u32,
    pub tcpi_advmss: u32,
    pub tcpi_reordering: u32,
    pub tcpi_rcv_rtt: u32,
    pub tcpi_rcv_space: u32,
    pub tcpi_total_retrans: u32,
}

Fields

tcpi_state: u8tcpi_ca_state: u8tcpi_retransmits: u8tcpi_probes: u8tcpi_backoff: u8tcpi_options: u8_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>tcpi_rto: u32tcpi_ato: u32tcpi_snd_mss: u32tcpi_rcv_mss: u32tcpi_unacked: u32tcpi_sacked: u32tcpi_lost: u32tcpi_retrans: u32tcpi_fackets: u32tcpi_last_data_sent: u32tcpi_last_ack_sent: u32tcpi_last_data_recv: u32tcpi_last_ack_recv: u32tcpi_pmtu: u32tcpi_rcv_ssthresh: u32tcpi_rtt: u32tcpi_rttvar: u32tcpi_snd_ssthresh: u32tcpi_snd_cwnd: u32tcpi_advmss: u32tcpi_reordering: u32tcpi_rcv_rtt: u32tcpi_rcv_space: u32tcpi_total_retrans: u32

Implementations

impl tcp_info[src]

pub fn tcpi_snd_wscale(&self) -> u8[src]

pub fn set_tcpi_snd_wscale(&mut self, val: u8)[src]

pub fn tcpi_rcv_wscale(&self) -> u8[src]

pub fn set_tcpi_rcv_wscale(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    tcpi_snd_wscale: u8,
    tcpi_rcv_wscale: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for tcp_info[src]

impl Copy for tcp_info[src]

impl Debug for tcp_info[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.