Searched refs:rtt (Results 1 - 5 of 5) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dtcp_cubic.c66 static uint32_t tcp_cubic_update(struct tcpcb *tp, u_int32_t rtt);
105 "use a min of 5 sec rtt");
159 tcp_cubic_update(struct tcpcb *tp, u_int32_t rtt) argument
207 elapsed_time += max(tcp_cubic_use_minrtt, rtt);
209 elapsed_time += rtt;
272 u_int32_t cubic_target_win, tcp_win, rtt; local
276 rtt = get_base_rtt(tp);
282 cubic_target_win = tcp_cubic_update(tp, rtt);
H A Dtcp_input.c212 &rtt_samples_per_slot, 0, "Number of RTT samples stored for rtt history");
361 static void update_base_rtt(struct tcpcb *tp, uint32_t rtt);
1040 * last rtt, is more than half of sb_hiwat, this will
1130 * 1. if the rtt seen on the connection is climbing up, we do not
4651 update_base_rtt(struct tcpcb *tp, uint32_t rtt) argument
4674 tp->rtt_hist[0] = rtt;
4677 tp->rtt_hist[0] = min(tp->rtt_hist[0], rtt);
4713 tcp_xmit_timer(register struct tcpcb *tp, int rtt, argument
4730 tp->t_srtt = max(tp->t_srtt_prev, rtt);
4732 tp->t_rttvar = max(tp->t_rttvar_prev, (rtt >>
4904 register int rtt, mss; local
[all...]
H A Dtcp_subr.c223 &tcp_TCPTV_MIN, 0, "min rtt value allowed");
915 * rtt estimate. Set rttvar so that srtt + 4 * rttvar gives
990 u_int32_t rtt = rt->rt_rmx.rmx_rtt; local
993 if (rtt != 0) {
999 tp->t_rttmin = rtt / (RTM_RTTUNIT / TCP_RETRANSHZ);
1002 tp->t_srtt = rtt / (RTM_RTTUNIT / (TCP_RETRANSHZ * TCP_RTT_SCALE));
1009 /* default variation is +- 1 rtt */
1078 * save the rtt and rttvar in the routing entry.
1082 * we could save a very bogus rtt.
/xnu-2782.1.97/bsd/net/
H A Dntstat.h472 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
H A Dntstat.c755 u_int32_t rtt,
774 newrtt = rtt;
778 newrtt = oldrtt - (oldrtt - (int32_t)rtt) / factor;
787 if (oldrtt != 0 && oldrtt < (int32_t)rtt)
791 } while (!OSCompareAndSwap(oldrtt, rtt, &stats->nstat_min_rtt));
753 nstat_route_rtt( struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var) argument

Completed in 42 milliseconds