Lines Matching refs:t_state
577 (tp->t_state < TCPS_ESTABLISHED)) { in bbr_timer_start()
744 if ((tp->t_state == TCPS_CLOSED) || in bbr_start_hpts_timer()
745 (tp->t_state == TCPS_LISTEN)) { in bbr_start_hpts_timer()
827 (tp->t_state <= TCPS_CLOSING)) { in bbr_start_hpts_timer()
833 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in bbr_start_hpts_timer()
966 if (((rsm == NULL) || (tp->t_state < TCPS_ESTABLISHED)) && in bbr_timer_audit()
983 (tp->t_state <= TCPS_CLOSING)) && in bbr_timer_audit()
4367 if (bbr->r_state && (bbr->r_state != tp->t_state)) in bbr_timeout_rack()
4561 if (bbr->r_state && (bbr->r_state != tp->t_state)) in bbr_timeout_tlp()
4771 if (tp->t_state > TCPS_CLOSE_WAIT && in bbr_timeout_persist()
4816 if (tp->t_state < TCPS_ESTABLISHED) in bbr_timeout_keepalive()
4819 tp->t_state <= TCPS_CLOSING) { in bbr_timeout_keepalive()
4867 if (bbr->r_state && (bbr->r_state != tp->t_state)) in bbr_remxt_tmr()
4889 if ((tp->t_state < TCPS_ESTABLISHED) && in bbr_remxt_tmr()
4956 if (TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_timeout_rxt()
4990 if (tp->t_state == TCPS_SYN_SENT) { in bbr_timeout_rxt()
5022 if ((tp->t_state == TCPS_SYN_SENT) || in bbr_timeout_rxt()
5023 (tp->t_state == TCPS_SYN_RECEIVED)) in bbr_timeout_rxt()
5045 ((tp->t_state == TCPS_ESTABLISHED) || in bbr_timeout_rxt()
5046 (tp->t_state == TCPS_FIN_WAIT_1))) { in bbr_timeout_rxt()
5148 if (tcp_rexmit_drop_options && (tp->t_state == TCPS_SYN_SENT) && in bbr_timeout_rxt()
5184 if (tp->t_state == TCPS_LISTEN) { in bbr_process_timers()
7365 th, tp->t_state, bbr, in bbr_log_ack()
7376 th_ack, tp->t_state, in bbr_log_ack()
7854 if ((tp->t_state >= TCPS_FIN_WAIT_1) && in bbr_process_ack()
8192 TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_process_data()
8219 tfo_syn = ((tp->t_state == TCPS_SYN_RECEIVED) && in bbr_process_data()
8222 TCPS_HAVERCVDFIN(tp->t_state) == 0) { in bbr_process_data()
8241 (TCPS_HAVEESTABLISHED(tp->t_state) || in bbr_process_data()
8314 TCPS_HAVEESTABLISHED(tp->t_state)) { in bbr_process_data()
8355 if (TCPS_HAVERCVDFIN(tp->t_state) == 0) { in bbr_process_data()
8374 switch (tp->t_state) { in bbr_process_data()
8632 TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_fastack()
8911 if (tp->t_state == TCPS_FIN_WAIT_1) { in bbr_do_syn_sent()
9133 if (tp->t_state == TCPS_FIN_WAIT_1) { in bbr_do_syn_recv()
10128 if (TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_init()
10168 if ((tp->t_state == TCPS_CLOSED) || in bbr_handoff_ok()
10169 (tp->t_state == TCPS_LISTEN)) { in bbr_handoff_ok()
10173 if ((tp->t_state == TCPS_SYN_SENT) || in bbr_handoff_ok()
10174 (tp->t_state == TCPS_SYN_RECEIVED)) { in bbr_handoff_ok()
10242 switch (tp->t_state) { in bbr_set_state()
11308 KASSERT(tp->t_state > TCPS_LISTEN, ("%s: TCPS_LISTEN", in bbr_do_segment_nounlock()
11310 KASSERT(tp->t_state != TCPS_TIME_WAIT, ("%s: TCPS_TIME_WAIT", in bbr_do_segment_nounlock()
11401 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { in bbr_do_segment_nounlock()
11474 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock()
11510 if ((tp->t_state == TCPS_SYN_SENT) && (thflags & TH_ACK) && in bbr_do_segment_nounlock()
11561 (tp->t_state <= TCPS_CLOSING)))) { in bbr_do_segment_nounlock()
11607 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock()
11924 ((tcp_outflags[tp->t_state] & TH_RST) == 0) && in bbr_output_wtime()
11925 ((sbavail(sb) + ((tcp_outflags[tp->t_state] & TH_FIN) ? 1 : 0)) <= in bbr_output_wtime()
11949 (tp->t_state < TCPS_ESTABLISHED)) { in bbr_output_wtime()
11966 } else if (tp->t_state == TCPS_CLOSED) { in bbr_output_wtime()
12080 ((tp->t_state == TCPS_SYN_RECEIVED) || in bbr_output_wtime()
12081 (tp->t_state == TCPS_SYN_SENT)) && in bbr_output_wtime()
12113 flags = tcp_outflags[tp->t_state]; in bbr_output_wtime()
12392 if (tp->t_state != TCPS_SYN_RECEIVED) in bbr_output_wtime()
12399 (tp->t_state == TCPS_SYN_RECEIVED)) in bbr_output_wtime()
12431 ((tp->t_state == TCPS_SYN_SENT) && in bbr_output_wtime()
12459 (TCPS_HAVEESTABLISHED(tp->t_state)) && in bbr_output_wtime()
12477 (TCPS_HAVEESTABLISHED(tp->t_state)) && in bbr_output_wtime()
12511 (TCPS_HAVEESTABLISHED(tp->t_state))) { in bbr_output_wtime()
12670 !TCPS_HAVERCVDFIN(tp->t_state)) { in bbr_output_wtime()
12714 TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_output_wtime()
12864 if (tp->t_state == TCPS_SYN_RECEIVED) { in bbr_output_wtime()
12870 } else if (tp->t_state == TCPS_SYN_SENT) { in bbr_output_wtime()
12900 else if (TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_output_wtime()
13551 if (tp->t_state == TCPS_SYN_SENT) in bbr_output_wtime()
13594 if (tp->t_state == TCPS_SYN_SENT) in bbr_output_wtime()
13618 if (TCPS_HAVEESTABLISHED(tp->t_state) && in bbr_output_wtime()
13844 if (TCPS_HAVERCVDSYN(tp->t_state)) { in bbr_output_wtime()