Lines Matching defs:rtt
359 int rtt;
366 if (tp->t_srtt == 0 && (rtt = metrics.rmx_rtt)) {
367 tp->t_srtt = rtt;
373 /* default variation is +- 1 rtt */
1807 * Recalculate the transmit timer / rtt.
2922 * Since we now have an rtt measurement, cancel the
3643 tcp_xmit_timer(struct tcpcb *tp, int rtt)
3654 imax(0, rtt * 1000 / hz));
3661 * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed
3662 * point). Adjust rtt to origin 0.
3664 delta = ((rtt - 1) << TCP_DELTA_SHIFT)
3671 * We accumulate a smoothed rtt variance (actually, a
3673 * timer to smoothed rtt + 4 times the smoothed variance.
3687 * No rtt measurement yet - use the unsmoothed rtt.
3688 * Set the variance to half the rtt (so our first
3689 * retransmit happens at 3*rtt).
3691 tp->t_srtt = rtt << TCP_RTT_SHIFT;
3692 tp->t_rttvar = rtt << (TCP_RTTVAR_SHIFT - 1);
3698 * the retransmit should happen at rtt + 4 * rttvar.
3709 max(tp->t_rttmin, rtt + 2), TCPTV_REXMTMAX);