Searched refs:rtt (Results 1 - 4 of 4) sorted by relevance
/xnu-2422.115.4/bsd/net/ |
H A D | ntstat.h | 376 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
|
H A D | ntstat.c | 686 u_int32_t rtt, 705 newrtt = rtt; 709 newrtt = oldrtt - (oldrtt - (int32_t)rtt) / factor; 718 if (oldrtt != 0 && oldrtt < (int32_t)rtt) 722 } while (!OSCompareAndSwap(oldrtt, rtt, &stats->nstat_min_rtt)); 684 nstat_route_rtt( struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var) argument
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | tcp_input.c | 228 &rtt_samples_per_slot, 0, "Number of RTT samples stored for rtt history"); 391 static void update_base_rtt(struct tcpcb *tp, uint32_t rtt); 1064 * 1. the bandwidth measured in last rtt, is more 1068 * one forth of the bandwidth measured in last rtt, this 1146 * 1. if the rtt seen on the connection is climbing up, we do not 4465 update_base_rtt(struct tcpcb *tp, uint32_t rtt) argument 4488 tp->rtt_hist[0] = rtt; 4491 tp->rtt_hist[0] = min(tp->rtt_hist[0], rtt); 4527 tcp_xmit_timer(register struct tcpcb *tp, int rtt, argument 4544 tp->t_srtt = max(tp->t_srtt_prev, rtt); 4718 register int rtt, mss; local [all...] |
H A D | tcp_subr.c | 222 &tcp_TCPTV_MIN, 0, "min rtt value allowed"); 878 * rtt estimate. Set rttvar so that srtt + 4 * rttvar gives 950 u_int32_t rtt = rt->rt_rmx.rmx_rtt; local 953 if (rtt != 0) { 959 tp->t_rttmin = rtt / (RTM_RTTUNIT / TCP_RETRANSHZ); 962 tp->t_srtt = rtt / (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTT_SCALE)); 969 /* default variation is +- 1 rtt */ 1042 * save the rtt and rttvar in the routing entry. 1046 * we could save a very bogus rtt.
|
Completed in 87 milliseconds