Home
last modified time | relevance | path

Searched refs:t_rxtshift (Results 1 – 4 of 4) sorted by relevance

/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_timer.c205 if (tp->t_rxtshift == TCP_MAXRXTSHIFT && in tcp_timer_persist()
357 tcplp_sys_log("rxtshift is %d", (int) tp->t_rxtshift); in tcp_timer_rexmt()
358 if (++tp->t_rxtshift > TCP_MAXRXTSHIFT) { in tcp_timer_rexmt()
359 tp->t_rxtshift = TCP_MAXRXTSHIFT; in tcp_timer_rexmt()
372 } else if (tp->t_rxtshift == 1) { in tcp_timer_rexmt()
398 rexmt = TCPTV_RTOBASE * tcp_syn_backoff[tp->t_rxtshift]; in tcp_timer_rexmt()
400 rexmt = TCP_REXMTVAL(tp) * tcp_backoff[tp->t_rxtshift]; in tcp_timer_rexmt()
426 (tp->t_rxtshift == 3)) in tcp_timer_rexmt()
434 if (tp->t_rxtshift > TCP_MAXRXTSHIFT / 4) { in tcp_timer_rexmt()
Dtcp_output.c88 TCPT_RANGESET(tt, t * tcp_backoff[tp->t_rxtshift], in tcp_setpersist()
91 if (tp->t_rxtshift < TCP_MAXRXTSHIFT) in tcp_setpersist()
92 tp->t_rxtshift++; in tcp_setpersist()
258 tp->t_rxtshift = 0; in tcp_output()
364 tp->t_rxtshift = 0; in tcp_output()
645 tp->t_rxtshift = 0; in tcp_output()
953 if (tp->t_rxtshift >= 1) { in tcp_output()
954 if (tp->t_rxtshift <= V_tcp_ecn_maxretries) in tcp_output()
1176 tp->t_rxtshift = 0; in tcp_output()
1205 tp->t_rxtshift = 0; in tcp_output()
Dtcp_var.h269 int32_t t_rxtshift; /* log(2) of rexmt exp. backoff */ member
Dtcp_input.c1147 if (tp->t_rxtshift == 1 && in tcp_do_segment()
2143 if (tp->t_rxtshift == 1 && tp->t_flags & TF_PREVVALID && in tcp_do_segment()
2746 tp->t_rxtshift = 0; in tcp_xmit_timer()