[][src]Struct nell::ffi::diag::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: [u8; 2],
    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,
    pub tcpi_pacing_rate: u64,
    pub tcpi_max_pacing_rate: u64,
    pub tcpi_bytes_acked: u64,
    pub tcpi_bytes_received: u64,
    pub tcpi_segs_out: u32,
    pub tcpi_segs_in: u32,
    pub tcpi_notsent_bytes: u32,
    pub tcpi_min_rtt: u32,
    pub tcpi_data_segs_in: u32,
    pub tcpi_data_segs_out: u32,
    pub tcpi_delivery_rate: u64,
    pub tcpi_busy_time: u64,
    pub tcpi_rwnd_limited: u64,
}

Fields

tcpi_state: u8tcpi_ca_state: u8tcpi_retransmits: u8tcpi_probes: u8tcpi_backoff: u8tcpi_options: u8_bitfield_1: [u8; 2]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: u32tcpi_pacing_rate: u64tcpi_max_pacing_rate: u64tcpi_bytes_acked: u64tcpi_bytes_received: u64tcpi_segs_out: u32tcpi_segs_in: u32tcpi_notsent_bytes: u32tcpi_min_rtt: u32tcpi_data_segs_in: u32tcpi_data_segs_out: u32tcpi_delivery_rate: u64tcpi_busy_time: u64tcpi_rwnd_limited: u64

Trait Implementations

impl Bytes for tcp_info[src]

impl Clone for tcp_info[src]

impl Debug for tcp_info[src]

impl Default 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.