Lines Matching refs:t_state

144 #define TCPDEBUG1()     ostate = tp ? tp->t_state : 0
389 tp->t_state = TCPS_LISTEN; in tcp_usr_listen()
411 tp->t_state = TCPS_LISTEN; in tcp6_usr_listen()
968 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_usr_rcvd()
1156 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send()
1202 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send()
1438 otp->t_state == TCPS_TIME_WAIT && in tcp_connect()
1504 tp->t_state = TCPS_SYN_SENT; in tcp_connect()
1573 otp->t_state == TCPS_TIME_WAIT && in tcp6_connect()
1635 tp->t_state = TCPS_SYN_SENT; in tcp6_connect()
1665 ti->tcpi_state = (uint8_t)tp->t_state; in tcp_fill_info()
1732 if (tp->t_state > TCPS_LISTEN) { in tcp_fill_info()
1927 tci->tcpi_state = (uint8_t)tp->t_state; in tcp_connection_fill_info()
2340 if (tp->t_state == TCPS_SYN_RECEIVED || in tcp_ctloutput()
2341 tp->t_state == TCPS_SYN_SENT) { in tcp_ctloutput()
2359 if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_ctloutput()
2378 if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_ctloutput()
2534 if (tp->t_state != TCPS_LISTEN) { in tcp_ctloutput()
2559 if (tp->t_state != TCPS_CLOSED) { in tcp_ctloutput()
2742 if (tp->t_state != TCPS_LISTEN || in tcp_ctloutput()
2983 tp->t_state = TCPS_CLOSED; in tcp_attach()
3004 if (tp->t_state < TCPS_ESTABLISHED) { in tcp_disconnect()
3039 switch (tp->t_state) { in tcp_usrclosed()
3055 tp->t_state = TCPS_FIN_WAIT_1; in tcp_usrclosed()
3064 tp->t_state = TCPS_LAST_ACK; in tcp_usrclosed()
3068 if (tp && tp->t_state >= TCPS_FIN_WAIT_2) { in tcp_usrclosed()
3071 if (tp->t_state == TCPS_FIN_WAIT_2) { in tcp_usrclosed()