Searched refs:rtt (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/net/ |
H A D | ntstat.h | 327 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
|
H A D | ntstat.c | 673 u_int32_t rtt, 692 newrtt = rtt; 696 newrtt = oldrtt - (oldrtt - (int32_t)rtt) / factor; 705 if (oldrtt != 0 && oldrtt < (int32_t)rtt) 709 } while (!OSCompareAndSwap(oldrtt, rtt, &stats->nstat_min_rtt)); 671 nstat_route_rtt( struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var) argument
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_input.c | 222 &rtt_samples_per_slot, 0, "Number of RTT samples stored for rtt history"); 362 static void update_base_rtt(struct tcpcb *tp, uint32_t rtt); 910 * 1. the bandwidth measured in last rtt, is more 914 * one forth of the bandwidth measured in last rtt, this 992 * 1. if the rtt seen on the connection is climbing up, we do not 2288 * Recalculate the transmit timer / rtt. 3417 * Since we now have an rtt measurement, cancel the 4167 update_base_rtt(struct tcpcb *tp, uint32_t rtt) argument 4174 tp->rtt_hist[0] = rtt; 4177 tp->rtt_hist[0] = min(tp->rtt_hist[0], rtt); 4348 register int rtt, mss; local [all...] |
H A D | tcp_subr.c | 231 &tcp_TCPTV_MIN, 0, "min rtt value allowed"); 861 * rtt estimate. Set rttvar so that srtt + 4 * rttvar gives 927 u_int32_t rtt = rt->rt_rmx.rmx_rtt; local 930 if (rtt != 0) { 936 tp->t_rttmin = rtt / (RTM_RTTUNIT / TCP_RETRANSHZ); 939 tp->t_srtt = rtt / (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTT_SCALE)); 946 /* default variation is +- 1 rtt */ 1013 * save the rtt and rttvar in the routing entry. 1017 * we could save a very bogus rtt.
|
Completed in 99 milliseconds