Lines Matching refs:sk_state
179 if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { in pn_socket_bind()
238 if (sk->sk_state != TCP_CLOSE) { in pn_socket_connect()
262 while (sk->sk_state == TCP_SYN_SENT) { in pn_socket_connect()
282 if ((1 << sk->sk_state) & (TCPF_SYN_RECV|TCPF_ESTABLISHED)) in pn_socket_connect()
284 else if (sk->sk_state == TCP_CLOSE_WAIT) in pn_socket_connect()
301 if (unlikely(sk->sk_state != TCP_LISTEN)) in pn_socket_accept()
339 if (sk->sk_state == TCP_CLOSE) in pn_socket_poll()
345 if (!mask && sk->sk_state == TCP_CLOSE_WAIT) in pn_socket_poll()
348 if (sk->sk_state == TCP_ESTABLISHED && in pn_socket_poll()
408 if (sk->sk_state != TCP_LISTEN) { in pn_socket_listen()
409 sk->sk_state = TCP_LISTEN; in pn_socket_listen()
589 pn->resource, sk->sk_state, in pn_sock_seq_show()