[][src]Struct nc::types::bpf_tcp_sock_t

#[repr(C)]
pub struct bpf_tcp_sock_t {
    pub snd_cwnd: u32,
    pub srtt_us: u32,
    pub rtt_min: u32,
    pub snd_ssthresh: u32,
    pub rcv_nxt: u32,
    pub snd_nxt: u32,
    pub snd_una: u32,
    pub mss_cache: u32,
    pub ecn_flags: u32,
    pub rate_delivered: u32,
    pub rate_interval_us: u32,
    pub packets_out: u32,
    pub retrans_out: u32,
    pub total_retrans: u32,
    pub segs_in: u32,
    pub data_segs_in: u32,
    pub segs_out: u32,
    pub data_segs_out: u32,
    pub lost_out: u32,
    pub sacked_out: u32,
    pub bytes_acked: u64,
    // some fields omitted
}

Fields

snd_cwnd: u32

Sending congestion window

srtt_us: u32

smoothed round trip time << 3 in usecs

rtt_min: u32snd_ssthresh: u32

Slow start size threshold

rcv_nxt: u32

What we want to receive next

snd_nxt: u32

Next sequence we send

snd_una: u32

First byte we want an ack for

mss_cache: u32

Cached effective mss, not including SACKS

ecn_flags: u32

ECN status bits.

rate_delivered: u32

saved rate sample: packets delivered

rate_interval_us: u32

saved rate sample: time elapsed

packets_out: u32

Packets which are "in flight"

retrans_out: u32

Retransmitted packets out

total_retrans: u32

Total retransmits for entire connection

segs_in: u32

RFC4898 tcpEStatsPerfSegsIn total number of segments in

data_segs_in: u32

RFC4898 tcpEStatsPerfDataSegsIn total number of data segments in.

segs_out: u32

RFC4898 tcpEStatsPerfSegsOut The total number of segments sent.

data_segs_out: u32

RFC4898 tcpEStatsPerfDataSegsOut total number of data segments sent.

lost_out: u32

Lost packets

sacked_out: u32

SACK'd packets

bytes_acked: u64

RFC4898 tcpEStatsAppHCThruOctetsAcked sum(delta(snd_una)), or how many bytes were acked.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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