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()
1827 if (tp->t_state > TCPS_LISTEN) { in tcp_fill_info()
2046 tci->tcpi_state = (uint8_t)tp->t_state; in tcp_connection_fill_info()
2453 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_ctloutput()
2471 if (tp->t_state == TCPS_SYN_RECEIVED || in tcp_ctloutput()
2472 tp->t_state == TCPS_SYN_SENT) { in tcp_ctloutput()
2490 if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_ctloutput()
2509 if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_ctloutput()
2665 if (tp->t_state != TCPS_LISTEN) { in tcp_ctloutput()
2690 if (tp->t_state != TCPS_CLOSED) { in tcp_ctloutput()
2895 if (tp->t_state != TCPS_LISTEN || in tcp_ctloutput()
3138 tp->t_state = TCPS_CLOSED; in tcp_attach()
3160 if (tp->t_state < TCPS_ESTABLISHED) { in tcp_disconnect()
3195 switch (tp->t_state) { in tcp_usrclosed()
3212 tp->t_state = TCPS_FIN_WAIT_1; in tcp_usrclosed()
3222 tp->t_state = TCPS_LAST_ACK; in tcp_usrclosed()
3226 if (tp && tp->t_state >= TCPS_FIN_WAIT_2) { in tcp_usrclosed()
3229 if (tp->t_state == TCPS_FIN_WAIT_2) { in tcp_usrclosed()