Lines Matching refs:t_state
398 tp->t_state = TCPS_LISTEN; in tcp_usr_listen()
428 tp->t_state = TCPS_LISTEN; in tcp6_usr_listen()
1060 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_usr_rcvd()
1243 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send()
1291 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send()
1529 otp->t_state == TCPS_TIME_WAIT && in tcp_connect()
1595 tp->t_state = TCPS_SYN_SENT; in tcp_connect()
1665 otp->t_state == TCPS_TIME_WAIT && in tcp6_connect()
1729 tp->t_state = TCPS_SYN_SENT; in tcp6_connect()
1760 ti->tcpi_state = (uint8_t)tp->t_state; in tcp_fill_info()
1823 if (tp->t_state > TCPS_LISTEN) { in tcp_fill_info()
2050 tci->tcpi_state = (uint8_t)tp->t_state; in tcp_connection_fill_info()
2457 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_ctloutput()
2475 if (tp->t_state == TCPS_SYN_RECEIVED || in tcp_ctloutput()
2476 tp->t_state == TCPS_SYN_SENT) { in tcp_ctloutput()
2494 if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_ctloutput()
2513 if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_ctloutput()
2669 if (tp->t_state != TCPS_LISTEN) { in tcp_ctloutput()
2691 if (tp->t_state != TCPS_CLOSED) { in tcp_ctloutput()
2896 if (tp->t_state != TCPS_LISTEN || in tcp_ctloutput()
3135 tp->t_state = TCPS_CLOSED; in tcp_attach()
3157 if (tp->t_state < TCPS_ESTABLISHED) { in tcp_disconnect()
3192 switch (tp->t_state) { in tcp_usrclosed()
3209 tp->t_state = TCPS_FIN_WAIT_1; in tcp_usrclosed()
3219 tp->t_state = TCPS_LAST_ACK; in tcp_usrclosed()
3223 if (tp && tp->t_state >= TCPS_FIN_WAIT_2) { in tcp_usrclosed()
3226 if (tp->t_state == TCPS_FIN_WAIT_2) { in tcp_usrclosed()