pub type TcpCongestionControlState = CongestionControlState;Expand description
TCP congestion control state machine state.
Aliased Type§
#[repr(u32)]pub enum TcpCongestionControlState {
Open = 0,
Disorder = 1,
CongestionWindowReduced = 2,
Recovery = 3,
Loss = 4,
}Variants§
Open = 0
No indication of duplicate ACKs or loss. Everything is fine.
Disorder = 1
Received SACK blocks duplicate ACKs, assumed to be due to packet loss or reordering.
CongestionWindowReduced = 2
Sending rate reduced due to congestion signal. This is either an ECN or local queue overrun.
Recovery = 3
Sender has entered either fast recovery (after seeing enough duplicate ACKs) or SACK-based recovery
Loss = 4
Sender hit RTO and entered slow start. Exits when all retransmitted packets have been ACKed.