Lines Matching refs:t_state
778 if (!TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass()
899 tp->t_state == TCPS_ESTABLISHED) { in tcp_adaptive_rwtimo_check()
924 ASSERT(tp->t_state == TCPS_FIN_WAIT_2); in tcp_set_finwait_timeout()
2465 if (tp->t_state == TCPS_CLOSED) { in tcp_input()
2517 prev_t_state = tp->t_state; in tcp_input()
2537 if (tp->t_state == TCPS_LISTEN && in tcp_input()
2882 tp->t_state = TCPS_LISTEN; in tcp_input()
2942 if (tp->t_state == TCPS_ESTABLISHED && tlen > 0) { in tcp_input()
2974 if (tp->t_state == TCPS_ESTABLISHED && BYTES_ACKED(th, tp) > 0) { in tcp_input()
3008 if (TCP_ACC_ECN_ON(tp) && tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
3031 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3050 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3058 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3065 if (tp->t_state == TCPS_ESTABLISHED && TCP_ECN_ENABLED(tp) && in tcp_input()
3089 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_input()
3101 if (tp->t_state != TCPS_LISTEN && optp) { in tcp_input()
3105 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_input()
3109 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { in tcp_input()
3129 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3199 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3520 switch (tp->t_state) { in tcp_input()
3642 tp->t_state = TCPS_SYN_RECEIVED; in tcp_input()
4004 tp->t_state = TCPS_FIN_WAIT_1; in tcp_input()
4014 tp->t_state = TCPS_ESTABLISHED; in tcp_input()
4072 tp->t_state = TCPS_SYN_RECEIVED; in tcp_input()
4225 ((tp->rcv_wnd == 0 || tp->t_state >= TCPS_CLOSE_WAIT) && in tcp_input()
4229 switch (tp->t_state) { in tcp_input()
4352 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_input()
4462 tp->t_state > TCPS_CLOSE_WAIT) { in tcp_input()
4468 tp->t_state > TCPS_CLOSE_WAIT) { in tcp_input()
4473 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input()
4508 tp->t_state == TCPS_TIME_WAIT && in tcp_input()
4601 if (tp->t_state == TCPS_SYN_RECEIVED) { in tcp_input()
4646 switch (tp->t_state) { in tcp_input()
4676 tp->t_state = TCPS_FIN_WAIT_1; in tcp_input()
4685 tp->t_state = TCPS_ESTABLISHED; in tcp_input()
4995 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_input()
5034 (tp->ecn_flags & TE_SENDIPECT) && tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
5191 (tp->t_state == TCPS_ESTABLISHED || in tcp_input()
5192 tp->t_state == TCPS_FIN_WAIT_1)) { in tcp_input()
5393 tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
5577 switch (tp->t_state) { in tcp_input()
5597 tp->t_state = TCPS_FIN_WAIT_2; in tcp_input()
5623 tp->t_state = TCPS_TIME_WAIT; in tcp_input()
5668 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
5690 TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
5784 TCPS_HAVERCVDFIN(tp->t_state) == 0 && in tcp_input()
5785 (TCPS_HAVEESTABLISHED(tp->t_state) || in tcp_input()
5786 (tp->t_state == TCPS_SYN_RECEIVED && in tcp_input()
5947 if (TCP_ACC_ECN_ON(tp) && TCPS_HAVEESTABLISHED(tp->t_state) && in tcp_input()
5948 TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
5970 if (TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
5983 switch (tp->t_state) { in tcp_input()
5995 tp->t_state = TCPS_CLOSE_WAIT; in tcp_input()
6006 tp->t_state = TCPS_CLOSING; in tcp_input()
6020 tp->t_state = TCPS_TIME_WAIT; in tcp_input()
6074 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in tcp_input()
6282 if (tp->t_state != TCPS_LISTEN) { in tcp_dooptions()
6293 if (tp->t_state != TCPS_LISTEN && in tcp_dooptions()
6294 tp->t_state != TCPS_SYN_SENT) { in tcp_dooptions()
6922 if ((so->so_state & SS_DEFUNCT) || tp->t_state == TCPS_CLOSED) { in tcp_mss()
7234 if (tp != NULL && tp->t_state == TCPS_CLOSED && in tcp_dropdropablreq()