Home | History | Annotate | Download | only in slirp-android

Lines Matching refs:rtt

113 static void tcp_xmit_timer(register struct tcpcb *tp, int rtt);
795 * use its rtt as our initial srtt & rtt var.
1165 * Since we now have an rtt measurement, cancel the
1615 tcp_xmit_timer(register struct tcpcb *tp, int rtt)
1621 DEBUG_ARG("rtt = %d", rtt);
1629 * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed
1630 * point). Adjust rtt to origin 0.
1632 delta = rtt - 1 - (tp->t_srtt >> TCP_RTT_SHIFT);
1636 * We accumulate a smoothed rtt variance (actually, a
1638 * timer to smoothed rtt + 4 times the smoothed variance.
1652 * No rtt measurement yet - use the unsmoothed rtt.
1653 * Set the variance to half the rtt (so our first
1654 * retransmit happens at 3*rtt).
1656 tp->t_srtt = rtt << TCP_RTT_SHIFT;
1657 tp->t_rttvar = rtt << (TCP_RTTVAR_SHIFT - 1);
1663 * the retransmit should happen at rtt + 4 * rttvar.