Lines Matching defs:rtt
364 int rtt;
371 if (tp->t_srtt == 0 && (rtt = metrics.hc_rtt)) {
372 tp->t_srtt = rtt;
378 /* default variation is +- 1 rtt */
1809 * Recalculate the transmit timer / rtt.
2979 * Since we now have an rtt measurement, cancel the
3699 tcp_xmit_timer(struct tcpcb *tp, int rtt)
3710 imax(0, rtt * 1000 / hz));
3717 * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed
3718 * point). Adjust rtt to origin 0.
3720 delta = ((rtt - 1) << TCP_DELTA_SHIFT)
3727 * We accumulate a smoothed rtt variance (actually, a
3729 * timer to smoothed rtt + 4 times the smoothed variance.
3743 * No rtt measurement yet - use the unsmoothed rtt.
3744 * Set the variance to half the rtt (so our first
3745 * retransmit happens at 3*rtt).
3747 tp->t_srtt = rtt << TCP_RTT_SHIFT;
3748 tp->t_rttvar = rtt << (TCP_RTTVAR_SHIFT - 1);
3754 * the retransmit should happen at rtt + 4 * rttvar.
3765 max(tp->t_rttmin, rtt + 2), TCPTV_REXMTMAX);