Lines Matching defs:rtt
340 int rtt;
347 if (tp->t_srtt == 0 && (rtt = metrics.rmx_rtt)) {
348 tp->t_srtt = rtt;
355 /* default variation is +- 1 rtt */
1733 * Recalculate the transmit timer / rtt.
2778 * Since we now have an rtt measurement, cancel the
3461 tcp_xmit_timer(struct tcpcb *tp, int rtt)
3474 * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed
3475 * point). Adjust rtt to origin 0.
3477 delta = ((rtt - 1) << TCP_DELTA_SHIFT)
3484 * We accumulate a smoothed rtt variance (actually, a
3486 * timer to smoothed rtt + 4 times the smoothed variance.
3502 * No rtt measurement yet - use the unsmoothed rtt.
3503 * Set the variance to half the rtt (so our first
3504 * retransmit happens at 3*rtt).
3506 tp->t_srtt = rtt << TCP_RTT_SHIFT;
3507 tp->t_rttvar = rtt << (TCP_RTTVAR_SHIFT - 1);
3514 * the retransmit should happen at rtt + 4 * rttvar.
3525 max(tp->t_rttmin, rtt + 2), TCPTV_REXMTMAX);