Lines Matching refs:congestion_window
65 if r.congestion_window < r.ssthresh { in on_packet_acked()
70 r.congestion_window = cwnd; in on_packet_acked()
73 r.congestion_window += packet.size; in on_packet_acked()
77 let mut reno_cwnd = r.congestion_window; in on_packet_acked()
81 if r.bytes_acked >= r.congestion_window { in on_packet_acked()
82 r.bytes_acked -= r.congestion_window; in on_packet_acked()
97 r.congestion_window = reno_cwnd; in on_packet_acked()
109 r.congestion_window = (r.congestion_window as f64 * in congestion_event()
113 r.congestion_window = in congestion_event()
114 cmp::max(r.congestion_window, recovery::MINIMUM_WINDOW); in congestion_event()
116 r.bytes_acked = (r.congestion_window as f64 * in congestion_event()
119 r.ssthresh = r.congestion_window; in congestion_event()
128 r.congestion_window = recovery::MINIMUM_WINDOW; in collapse_cwnd()