Home
last modified time | relevance | path

Searched refs:rtt_thresh (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netinet/cc/
H A Dcc_newreno.c300 uint32_t rtt_thresh; in newreno_ack_received() local
303 rtt_thresh = (nreno->css_lastround_minrtt >> 3); in newreno_ack_received()
304 if (rtt_thresh < hystart_minrtt_thresh) in newreno_ack_received()
305 rtt_thresh = hystart_minrtt_thresh; in newreno_ack_received()
306 if (rtt_thresh > hystart_maxrtt_thresh) in newreno_ack_received()
307 rtt_thresh = hystart_maxrtt_thresh; in newreno_ack_received()
308 newreno_log_hystart_event(ccv, nreno, 1, rtt_thresh); in newreno_ack_received()
309 if (nreno->css_current_round_minrtt >= (nreno->css_lastround_minrtt + rtt_thresh)) { in newreno_ack_received()
322 newreno_log_hystart_event(ccv, nreno, 2, rtt_thresh); in newreno_ack_received()
H A Dcc_cubic.c191 uint32_t rtt_thresh; in cubic_does_slow_start() local
194 rtt_thresh = (cubicd->css_lastround_minrtt >> 3); in cubic_does_slow_start()
195 if (rtt_thresh < hystart_minrtt_thresh) in cubic_does_slow_start()
196 rtt_thresh = hystart_minrtt_thresh; in cubic_does_slow_start()
197 if (rtt_thresh > hystart_maxrtt_thresh) in cubic_does_slow_start()
198 rtt_thresh = hystart_maxrtt_thresh; in cubic_does_slow_start()
199 cubic_log_hystart_event(ccv, cubicd, 1, rtt_thresh); in cubic_does_slow_start()
201 if (cubicd->css_current_round_minrtt >= (cubicd->css_lastround_minrtt + rtt_thresh)) { in cubic_does_slow_start()
214 cubic_log_hystart_event(ccv, cubicd, 2, rtt_thresh); in cubic_does_slow_start()