Home
last modified time | relevance | path

Searched refs:TCP_LISTEN (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.6.39/net/ipv4/
Dinet_connection_sock.c76 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()
Dtcp_diag.c26 if (sk->sk_state == TCP_LISTEN) { in tcp_diag_get_info()
Dtcp.c380 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()
Dinet_hashtables.c407 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/
Dtcp_states.h26 TCP_LISTEN, enumerator
/linux-2.6.39/net/x25/
Dx25_timer.c113 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
Daf_x25.c293 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/
Daf_llc.c524 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()
Dllc_conn.c551 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/
Dax25_std_timer.c45 (sk->sk_state == TCP_LISTEN && in ax25_std_heartbeat_expiry()
Dax25_ds_timer.c110 (sk->sk_state == TCP_LISTEN && in ax25_ds_heartbeat_expiry()
Daf_ax25.c169 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/
Dconstants.h224 SCTP_SS_LISTENING = TCP_LISTEN,
/linux-2.6.39/net/rds/
Dtcp_listen.c130 if (sk->sk_state == TCP_LISTEN) in rds_tcp_listen_data_ready()
/linux-2.6.39/net/phonet/
Dsocket.c312 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/
Daf_rose.c258 !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()
Drose_timer.c140 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry()
/linux-2.6.39/net/decnet/
Daf_decnet.c384 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/
Dnr_timer.c128 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in nr_heartbeat_expiry()
Daf_netrom.c158 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/
Daf_unix.c419 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()
Dgarbage.c206 if (x->sk_state != TCP_LISTEN) in scan_children()
/linux-2.6.39/net/ipv6/
Dinet6_connection_sock.c47 sk2->sk_state == TCP_LISTEN) && in inet6_csk_bind_conflict()
Dinet6_hashtables.c32 if (sk->sk_state == TCP_LISTEN) { in __inet6_hash()
/linux-2.6.39/include/linux/
Ddccp.h252 DCCP_LISTEN = TCP_LISTEN,

12