/linux-2.6.39/net/ipv4/ |
D | inet_connection_sock.c | 76 sk2->sk_state == TCP_LISTEN) { in inet_csk_bind_conflict() 121 sk->sk_state != TCP_LISTEN && in inet_csk_get_port() 173 sk->sk_reuse && sk->sk_state != TCP_LISTEN && in inet_csk_get_port() 179 if (sk->sk_reuse && sk->sk_state != TCP_LISTEN && in inet_csk_get_port() 194 if (sk->sk_reuse && sk->sk_state != TCP_LISTEN) in inet_csk_get_port() 199 (!sk->sk_reuse || sk->sk_state == TCP_LISTEN)) in inet_csk_get_port() 250 if (sk->sk_state != TCP_LISTEN) in inet_csk_wait_for_connect() 278 if (sk->sk_state != TCP_LISTEN) in inet_csk_accept() 641 sk->sk_state = TCP_LISTEN; in inet_csk_listen_start()
|
D | tcp_diag.c | 26 if (sk->sk_state == TCP_LISTEN) { in tcp_diag_get_info()
|
D | tcp.c | 380 if (sk->sk_state == TCP_LISTEN) in tcp_poll() 474 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 500 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 509 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 1339 if (sk->sk_state == TCP_LISTEN) in tcp_read_sock() 1423 if (sk->sk_state == TCP_LISTEN) in tcp_recvmsg() 1887 if (sk->sk_state == TCP_LISTEN) { in tcp_close() 2060 if (old_state == TCP_LISTEN) { in tcp_disconnect() 2465 if (sk->sk_state == TCP_LISTEN) { in tcp_get_info()
|
D | inet_hashtables.c | 407 if (sk->sk_state != TCP_LISTEN) { in __inet_hash() 440 if (sk->sk_state == TCP_LISTEN) in inet_unhash()
|
/linux-2.6.39/include/net/ |
D | tcp_states.h | 26 TCP_LISTEN, enumerator
|
/linux-2.6.39/net/x25/ |
D | x25_timer.c | 113 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
|
D | af_x25.c | 293 s->sk_state == TCP_LISTEN) { in x25_find_listener() 404 skb->sk->sk_state = TCP_LISTEN; in __x25_destroy_socket() 501 if (sk->sk_state != TCP_LISTEN) { in x25_listen() 504 sk->sk_state = TCP_LISTEN; in x25_listen() 871 if (sk->sk_state != TCP_LISTEN) in x25_accept() 1421 if (sk->sk_state != TCP_LISTEN && in x25_ioctl() 1474 if (sk->sk_state != TCP_LISTEN && in x25_ioctl()
|
/linux-2.6.39/net/llc/ |
D | af_llc.c | 524 if (sk->sk_state != TCP_LISTEN) { in llc_ui_listen() 526 sk->sk_state = TCP_LISTEN; in llc_ui_listen() 660 sk->sk_state != TCP_LISTEN)) in llc_ui_accept() 687 sk->sk_state = TCP_LISTEN; in llc_ui_accept() 725 if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) in llc_ui_recvmsg()
|
D | llc_conn.c | 551 return sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN && in llc_listener_match() 810 if (unlikely(sk->sk_state == TCP_LISTEN)) { in llc_conn_handler()
|
/linux-2.6.39/net/ax25/ |
D | ax25_std_timer.c | 45 (sk->sk_state == TCP_LISTEN && in ax25_std_heartbeat_expiry()
|
D | ax25_ds_timer.c | 110 (sk->sk_state == TCP_LISTEN && in ax25_ds_heartbeat_expiry()
|
D | af_ax25.c | 169 s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { in ax25_find_listener() 322 skb->sk->sk_state = TCP_LISTEN; in ax25_destroy_socket() 653 sk->sk_state == TCP_LISTEN)) { in ax25_setsockopt() 780 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen() 782 sk->sk_state = TCP_LISTEN; in ax25_listen() 1339 if (sk->sk_state != TCP_LISTEN) { in ax25_accept()
|
/linux-2.6.39/include/net/sctp/ |
D | constants.h | 224 SCTP_SS_LISTENING = TCP_LISTEN,
|
/linux-2.6.39/net/rds/ |
D | tcp_listen.c | 130 if (sk->sk_state == TCP_LISTEN) in rds_tcp_listen_data_ready()
|
/linux-2.6.39/net/phonet/ |
D | socket.c | 312 if (unlikely(sk->sk_state != TCP_LISTEN)) in pn_socket_accept() 420 if (sk->sk_state != TCP_LISTEN) { in pn_socket_listen() 421 sk->sk_state = TCP_LISTEN; in pn_socket_listen()
|
/linux-2.6.39/net/rose/ |
D | af_rose.c | 258 !rose->source_ndigis && s->sk_state == TCP_LISTEN) in rose_find_listener() 267 s->sk_state == TCP_LISTEN) in rose_find_listener() 495 if (sk->sk_state != TCP_LISTEN) { in rose_listen() 503 sk->sk_state = TCP_LISTEN; in rose_listen() 897 if (sk->sk_state != TCP_LISTEN) { in rose_accept()
|
D | rose_timer.c | 140 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry()
|
/linux-2.6.39/net/decnet/ |
D | af_decnet.c | 384 if (sk->sk_state != TCP_LISTEN) in dn_sklist_find_listener() 404 if (sk->sk_state == TCP_LISTEN) in dn_sklist_find_listener() 1055 if (sk->sk_state != TCP_LISTEN) in dn_wait_for_connect() 1083 if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { in dn_accept() 1124 newsk->sk_state = TCP_LISTEN; in dn_accept() 1281 if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) in dn_listen() 1286 sk->sk_state = TCP_LISTEN; in dn_listen()
|
/linux-2.6.39/net/netrom/ |
D | nr_timer.c | 128 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in nr_heartbeat_expiry()
|
D | af_netrom.c | 158 s->sk_state == TCP_LISTEN) { in nr_find_listener() 411 if (sk->sk_state != TCP_LISTEN) { in nr_listen() 414 sk->sk_state = TCP_LISTEN; in nr_listen() 791 if (sk->sk_state != TCP_LISTEN) { in nr_accept()
|
/linux-2.6.39/net/unix/ |
D | af_unix.c | 419 if (state == TCP_LISTEN) in unix_release_sock() 484 if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) in unix_listen() 489 sk->sk_state = TCP_LISTEN; in unix_listen() 1108 if (other->sk_state != TCP_LISTEN) in unix_stream_connect() 1256 if (sk->sk_state != TCP_LISTEN) in unix_accept() 2058 if (sk->sk_state == TCP_LISTEN) { in unix_ioctl() 2261 s->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in unix_seq_show()
|
D | garbage.c | 206 if (x->sk_state != TCP_LISTEN) in scan_children()
|
/linux-2.6.39/net/ipv6/ |
D | inet6_connection_sock.c | 47 sk2->sk_state == TCP_LISTEN) && in inet6_csk_bind_conflict()
|
D | inet6_hashtables.c | 32 if (sk->sk_state == TCP_LISTEN) { in __inet6_hash()
|
/linux-2.6.39/include/linux/ |
D | dccp.h | 252 DCCP_LISTEN = TCP_LISTEN,
|