Lines Matching refs:state
406 * the msk state.
409 * DATA_FIN, send the DATA_ACK now and do state transition. If
609 * it's time to ack the DATA_FIN and change socket state, but
610 * this is not a good place to change state. Let the workqueue
1929 /* current state: new state: action: */
2575 if (sock->state != SS_UNCONNECTED && msk->subflow) {
2576 /* pending connection or invalid state, let existing subflow
2604 sock->state = ssock->state;
2606 /* on successful connect, the msk state will be moved to established by
2708 int state;
2713 state = inet_sk_state_load(sk);
2714 pr_debug("msk=%p state=%d flags=%lx", msk, state, msk->flags);
2715 if (state == TCP_LISTEN)
2718 if (state != TCP_SYN_SENT && state != TCP_SYN_RECV) {
2745 if (sock->state == SS_CONNECTING) {
2748 sock->state = SS_DISCONNECTING;
2750 sock->state = SS_CONNECTED;
2753 /* If we've already sent a FIN, or it's a closed state, skip this. */