Lines Matching refs:t_state
769 if (!TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass()
883 tp->t_state == TCPS_ESTABLISHED) { in tcp_adaptive_rwtimo_check()
908 ASSERT(tp->t_state == TCPS_FIN_WAIT_2); in tcp_set_finwait_timeout()
2282 if (tp->t_state == TCPS_CLOSED) { in tcp_input()
2330 prev_t_state = tp->t_state; in tcp_input()
2346 if (tp->t_state == TCPS_LISTEN && in tcp_input()
2355 ostate = tp->t_state; in tcp_input()
2677 tp->t_state = TCPS_LISTEN; in tcp_input()
2720 if (tp->t_state == TCPS_ESTABLISHED && tlen > 0) { in tcp_input()
2766 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED && in tcp_input()
2784 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
2792 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED && in tcp_input()
2799 if (tp->t_state == TCPS_ESTABLISHED && TCP_ECN_ENABLED(tp) && in tcp_input()
2823 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_input()
2835 if (tp->t_state != TCPS_LISTEN && optp) { in tcp_input()
2839 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW) && in tcp_input()
2848 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { in tcp_input()
2868 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
2938 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3212 switch (tp->t_state) { in tcp_input()
3315 tp->t_state = TCPS_SYN_RECEIVED; in tcp_input()
3532 tp->t_state = TCPS_FIN_WAIT_1; in tcp_input()
3541 tp->t_state = TCPS_ESTABLISHED; in tcp_input()
3597 tp->t_state = TCPS_SYN_RECEIVED; in tcp_input()
3748 switch (tp->t_state) { in tcp_input()
3869 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_input()
3978 tp->t_state > TCPS_CLOSE_WAIT) { in tcp_input()
3984 tp->t_state > TCPS_CLOSE_WAIT) { in tcp_input()
3989 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input()
4023 tp->t_state == TCPS_TIME_WAIT && in tcp_input()
4114 if (tp->t_state == TCPS_SYN_RECEIVED) { in tcp_input()
4154 switch (tp->t_state) { in tcp_input()
4183 tp->t_state = TCPS_FIN_WAIT_1; in tcp_input()
4191 tp->t_state = TCPS_ESTABLISHED; in tcp_input()
4387 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_input()
4612 (tp->t_state == TCPS_ESTABLISHED || in tcp_input()
4613 tp->t_state == TCPS_FIN_WAIT_1)) { in tcp_input()
4802 tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
4910 switch (tp->t_state) { in tcp_input()
4929 tp->t_state = TCPS_FIN_WAIT_2; in tcp_input()
4954 tp->t_state = TCPS_TIME_WAIT; in tcp_input()
4999 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
5021 TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
5114 TCPS_HAVERCVDFIN(tp->t_state) == 0 && in tcp_input()
5115 (TCPS_HAVEESTABLISHED(tp->t_state) || in tcp_input()
5116 (tp->t_state == TCPS_SYN_RECEIVED && in tcp_input()
5279 if (TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
5292 switch (tp->t_state) { in tcp_input()
5303 tp->t_state = TCPS_CLOSE_WAIT; in tcp_input()
5313 tp->t_state = TCPS_CLOSING; in tcp_input()
5326 tp->t_state = TCPS_TIME_WAIT; in tcp_input()
5387 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in tcp_input()
5583 if (tp->t_state != TCPS_LISTEN) { in tcp_dooptions()
5594 if (tp->t_state != TCPS_LISTEN && in tcp_dooptions()
5595 tp->t_state != TCPS_SYN_SENT) { in tcp_dooptions()
6194 if ((so->so_state & SS_DEFUNCT) || tp->t_state == TCPS_CLOSED) { in tcp_mss()
6517 if (tp != NULL && tp->t_state == TCPS_CLOSED && in tcp_dropdropablreq()