Lines Matching refs:congestion_window
116 cubic.w_last_max = r.congestion_window as f64; in collapse_cwnd()
120 r.ssthresh = (r.congestion_window as f64 * BETA_CUBIC) as usize; in collapse_cwnd()
168 if r.congestion_window < r.ssthresh { in on_packet_acked()
173 r.congestion_window = cwnd; in on_packet_acked()
177 r.congestion_window += packet.size; in on_packet_acked()
192 r.cubic_state.w_max = r.congestion_window as f64; in on_packet_acked()
204 r.cubic_state.w_max = r.congestion_window as f64; in on_packet_acked()
218 let mut cubic_cwnd = r.congestion_window; in on_packet_acked()
243 r.cubic_state.cwnd_inc += cubic_cwnd - r.congestion_window; in on_packet_acked()
249 r.congestion_window += recovery::MAX_DATAGRAM_SIZE; in on_packet_acked()
274 r.cubic_state.w_max = r.congestion_window as f64; in congestion_event()
277 r.congestion_window = r.ssthresh; in congestion_event()