Home
last modified time | relevance | path

Searched refs:t_srtt (Results 1 – 5 of 5) sorted by relevance

/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_input.c157 if (tp->t_srtt == 0 && (rtt = metrics.rmx_rtt)) { in cc_conn_init()
158 tp->t_srtt = rtt; in cc_conn_init()
159 tp->t_rttbest = tp->t_srtt + TCP_RTT_SCALE; in cc_conn_init()
165 tp->t_srtt * TCP_RTTVAR_SCALE / TCP_RTT_SCALE; in cc_conn_init()
168 ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1, in cc_conn_init()
2704 if (tp->t_srtt != 0) { in tcp_xmit_timer()
2713 - (tp->t_srtt >> (TCP_RTT_SHIFT - TCP_DELTA_SHIFT)); in tcp_xmit_timer()
2715 if ((tp->t_srtt += delta) <= 0) in tcp_xmit_timer()
2716 tp->t_srtt = 1; in tcp_xmit_timer()
2733 if (tp->t_rttbest > tp->t_srtt + tp->t_rttvar) in tcp_xmit_timer()
[all …]
Dtcp_timer.c393 tp->t_badrxtwin = ticks + (tp->t_srtt >> (TCP_RTT_SHIFT + 1)); in tcp_timer_rexmt()
442 tp->t_rttvar += (tp->t_srtt >> TCP_RTT_SHIFT); in tcp_timer_rexmt()
443 tp->t_srtt = 0; in tcp_timer_rexmt()
Dtcp_var.h266 int32_t t_srtt; /* smoothed round-trip time */ member
560 max((tp)->t_rttmin, (((tp)->t_srtt >> (TCP_RTT_SHIFT - TCP_DELTA_SHIFT)) \
Dtcp_subr.c131 tp->t_srtt = TCPTV_SRTTBASE; in initialize_tcb()
Dtcp_output.c79 int t = ((tp->t_srtt >> 2) + tp->t_rttvar) >> 1; in tcp_setpersist()