Home
last modified time | relevance | path

Searched refs:t_flags (Results 1 – 9 of 9) sorted by relevance

/openthread-3.4.0/third_party/tcplp/bsdtcp/
Dtcp_input.c227 if (!IN_FASTRECOVERY(tp->t_flags)) { in cc_cong_signal()
229 if (tp->t_flags & TF_ECN_PERMIT) in cc_cong_signal()
230 tp->t_flags |= TF_ECN_SND_CWR; in cc_cong_signal()
234 if (!IN_CONGRECOVERY(tp->t_flags)) { in cc_cong_signal()
236 if (tp->t_flags & TF_ECN_PERMIT) in cc_cong_signal()
237 tp->t_flags |= TF_ECN_SND_CWR; in cc_cong_signal()
243 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal()
270 if (tp->t_flags & TF_WASFRECOVERY) in cc_cong_signal()
271 ENTER_FASTRECOVERY(tp->t_flags); in cc_cong_signal()
272 if (tp->t_flags & TF_WASCRECOVERY) in cc_cong_signal()
[all …]
Dtcp_output.c82 tp->t_flags &= ~TF_PREVVALID; in tcp_setpersist()
132 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_output()
136 tp->t_flags &= ~TF_LASTIDLE; in tcp_output()
138 if (tp->t_flags & TF_MORETOCOME) { in tcp_output()
139 tp->t_flags |= TF_LASTIDLE; in tcp_output()
154 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_output()
178 if ((tp->t_flags & TF_SACK_PERMIT) && IN_FASTRECOVERY(tp->t_flags) && in tcp_output()
220 if (tp->t_flags & TF_NEEDFIN) in tcp_output()
222 if (tp->t_flags & TF_NEEDSYN) in tcp_output()
231 if (tp->t_flags & TF_FORCEDATA) { in tcp_output()
[all …]
Dtcp_var.h223 uint32_t t_flags; member
425 #define IN_FASTRECOVERY(t_flags) (t_flags & TF_FASTRECOVERY) argument
426 #define ENTER_FASTRECOVERY(t_flags) t_flags |= TF_FASTRECOVERY argument
427 #define EXIT_FASTRECOVERY(t_flags) t_flags &= ~TF_FASTRECOVERY argument
429 #define IN_CONGRECOVERY(t_flags) (t_flags & TF_CONGRECOVERY) argument
430 #define ENTER_CONGRECOVERY(t_flags) t_flags |= TF_CONGRECOVERY argument
431 #define EXIT_CONGRECOVERY(t_flags) t_flags &= ~TF_CONGRECOVERY argument
433 #define IN_RECOVERY(t_flags) (t_flags & (TF_CONGRECOVERY | TF_FASTRECOVERY)) argument
434 #define ENTER_RECOVERY(t_flags) t_flags |= (TF_CONGRECOVERY | TF_FASTRECOVERY) argument
435 #define EXIT_RECOVERY(t_flags) t_flags &= ~(TF_CONGRECOVERY | TF_FASTRECOVERY) argument
Dtcp_timer.c82 tp->t_flags |= TF_ACKNOW; in tcp_timer_delack()
225 tp->t_flags |= TF_FORCEDATA; in tcp_timer_persist()
228 tp->t_flags &= ~TF_FORCEDATA; in tcp_timer_persist()
385 if (IN_FASTRECOVERY(tp->t_flags)) in tcp_timer_rexmt()
386 tp->t_flags |= TF_WASFRECOVERY; in tcp_timer_rexmt()
388 tp->t_flags &= ~TF_WASFRECOVERY; in tcp_timer_rexmt()
389 if (IN_CONGRECOVERY(tp->t_flags)) in tcp_timer_rexmt()
390 tp->t_flags |= TF_WASCRECOVERY; in tcp_timer_rexmt()
392 tp->t_flags &= ~TF_WASCRECOVERY; in tcp_timer_rexmt()
394 tp->t_flags |= TF_PREVVALID; in tcp_timer_rexmt()
[all …]
Dtcp_timewait.c134 if ((tp->t_flags & TF_RCVD_TSTMP) && flags == TH_ACK) { in tcp_twrespond()
250 if ((tp->t_flags & (TF_REQ_TSTMP|TF_RCVD_TSTMP|TF_NOOPT)) == in tcp_twstart()
276 acknow = tp->t_flags & TF_ACKNOW; in tcp_twstart()
Dtcp_usrreq.c332 tp->t_flags |= TF_MORETOCOME; in tcp_usr_send()
335 tp->t_flags &= ~TF_MORETOCOME; in tcp_usr_send()
449 tp->t_flags |= TF_NEEDFIN; in tcp_usrclosed()
Dtcp_subr.c121 tp->t_flags = (TF_REQ_SCALE|TF_REQ_TSTMP); in initialize_tcb()
123 tp->t_flags |= TF_SACK_PERMIT; in initialize_tcb()
Dtcp_sack.c563 tp->t_flags |= TF_ACKNOW; in tcp_sack_partialack()
/openthread-3.4.0/third_party/tcplp/bsdtcp/cc/
Dcc_newreno.c92 if (type == CC_ACK && !IN_RECOVERY(CCV(ccv, t_flags)) && in newreno_ack_received()
200 if (!IN_FASTRECOVERY(CCV(ccv, t_flags))) { in newreno_cong_signal()
201 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) in newreno_cong_signal()
203 ENTER_RECOVERY(CCV(ccv, t_flags)); in newreno_cong_signal()
207 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in newreno_cong_signal()
210 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in newreno_cong_signal()
222 if (IN_FASTRECOVERY(CCV(ccv, t_flags))) { in newreno_post_recovery()