Lines Matching refs:sk_state
288 s->sk_state == TCP_LISTEN) { in x25_find_listener()
399 skb->sk->sk_state = TCP_LISTEN; in __x25_destroy_socket()
495 if (sk->sk_state != TCP_LISTEN) { in x25_listen()
498 sk->sk_state = TCP_LISTEN; in x25_listen()
609 sk->sk_state = TCP_ESTABLISHED; in x25_make_new()
656 sk->sk_state = TCP_CLOSE; in x25_release()
733 if (sk->sk_state != TCP_ESTABLISHED) { in x25_wait_for_connection_establishment()
755 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in x25_connect()
761 if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { in x25_connect()
767 if (sk->sk_state == TCP_ESTABLISHED) in x25_connect()
771 if (sk->sk_state == TCP_SYN_SENT) in x25_connect()
774 sk->sk_state = TCP_CLOSE; in x25_connect()
809 sk->sk_state = TCP_SYN_SENT; in x25_connect()
820 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) in x25_connect()
890 if (sk->sk_state != TCP_LISTEN) in x25_accept()
924 if (sk->sk_state != TCP_ESTABLISHED) { in x25_getname()
1049 make->sk_state = TCP_ESTABLISHED; in x25_rx_call_request()
1154 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg()
1251 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg()
1300 if (sk->sk_state != TCP_ESTABLISHED) in x25_recvmsg()
1455 if (sk->sk_state != TCP_LISTEN && in x25_ioctl()
1456 sk->sk_state != TCP_CLOSE) in x25_ioctl()
1508 if (sk->sk_state != TCP_LISTEN && in x25_ioctl()
1509 sk->sk_state != TCP_CLOSE) in x25_ioctl()
1572 if(sk->sk_state != TCP_CLOSE) in x25_ioctl()
1591 if (sk->sk_state == TCP_CLOSE) { in x25_ioctl()
1602 if (sk->sk_state != TCP_ESTABLISHED) in x25_ioctl()