Lines Matching refs:t_state
759 if (!TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass()
897 tp->t_state == TCPS_ESTABLISHED) { in tcp_adaptive_rwtimo_check()
922 ASSERT(tp->t_state == TCPS_FIN_WAIT_2); in tcp_set_finwait_timeout()
2500 tp->t_state = TCPS_LISTEN; in tcp_create_server_socket()
2696 tp->t_state = TCPS_SYN_RECEIVED; in tcp_setup_server_socket()
3195 if (tp->t_state == TCPS_CLOSED) { in tcp_input()
3254 prev_t_state = tp->t_state; in tcp_input()
3274 if (tp->t_state == TCPS_LISTEN && in tcp_input()
3345 ASSERT(tp->t_state == TCPS_SYN_RECEIVED); in tcp_input()
3508 if (tp->t_state == TCPS_ESTABLISHED && BYTES_ACKED(th, tp) > 0) { in tcp_input()
3542 if (tp->accurate_ecn_on && tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
3565 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3584 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3592 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
3619 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_input()
3631 if (tp->t_state != TCPS_LISTEN && optp) { in tcp_input()
3635 if (tp->t_state != TCPS_LISTEN && (so->so_flags & SOF_MP_SUBFLOW)) { in tcp_input()
3639 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { in tcp_input()
3659 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
3729 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
4054 switch (tp->t_state) { in tcp_input()
4258 tp->t_state = TCPS_FIN_WAIT_1; in tcp_input()
4268 tp->t_state = TCPS_ESTABLISHED; in tcp_input()
4326 tp->t_state = TCPS_SYN_RECEIVED; in tcp_input()
4479 ((tp->rcv_wnd == 0 || tp->t_state >= TCPS_CLOSE_WAIT) && in tcp_input()
4483 switch (tp->t_state) { in tcp_input()
4587 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_input()
4603 if (tp->t_state == TCPS_TIME_WAIT && tlen == 0 && in tcp_input()
4719 tp->t_state > TCPS_CLOSE_WAIT) { in tcp_input()
4725 tp->t_state > TCPS_CLOSE_WAIT) { in tcp_input()
4730 if ((so->so_flags & SOF_DEFUNCT) && tp->t_state > TCPS_FIN_WAIT_1) { in tcp_input()
4844 if (tp->t_state == TCPS_SYN_RECEIVED) { in tcp_input()
4889 switch (tp->t_state) { in tcp_input()
4919 tp->t_state = TCPS_FIN_WAIT_1; in tcp_input()
4928 tp->t_state = TCPS_ESTABLISHED; in tcp_input()
5175 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_input()
5216 (tp->ecn_flags & TE_SENDIPECT) && tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
5373 (tp->t_state == TCPS_ESTABLISHED || in tcp_input()
5374 tp->t_state == TCPS_FIN_WAIT_1)) { in tcp_input()
5572 tp->t_state == TCPS_ESTABLISHED) { in tcp_input()
5761 switch (tp->t_state) { in tcp_input()
5781 tp->t_state = TCPS_FIN_WAIT_2; in tcp_input()
5807 tp->t_state = TCPS_TIME_WAIT; in tcp_input()
5852 if (tp->t_state == TCPS_ESTABLISHED && in tcp_input()
5875 TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
5969 TCPS_HAVERCVDFIN(tp->t_state) == 0 && in tcp_input()
5970 (TCPS_HAVEESTABLISHED(tp->t_state) || in tcp_input()
5971 (tp->t_state == TCPS_SYN_RECEIVED && in tcp_input()
6141 if (tp->accurate_ecn_on && TCPS_HAVEESTABLISHED(tp->t_state) && in tcp_input()
6142 TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
6164 if (TCPS_HAVERCVDFIN(tp->t_state) == 0) { in tcp_input()
6177 switch (tp->t_state) { in tcp_input()
6189 tp->t_state = TCPS_CLOSE_WAIT; in tcp_input()
6200 tp->t_state = TCPS_CLOSING; in tcp_input()
6214 tp->t_state = TCPS_TIME_WAIT; in tcp_input()
6268 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in tcp_input()
6477 if (tp->t_state != TCPS_LISTEN) { in tcp_dooptions()
6488 if (tp->t_state != TCPS_LISTEN && in tcp_dooptions()
6489 tp->t_state != TCPS_SYN_SENT) { in tcp_dooptions()
7119 if ((so->so_state & SS_DEFUNCT) || tp->t_state == TCPS_CLOSED) { in tcp_mss()
7431 if (tp != NULL && tp->t_state == TCPS_CLOSED && in tcp_dropdropablreq()