/linux-2.4.37.9/net/ipv4/ |
D | tcp_ipv4.c | 197 sk2->state == TCP_LISTEN) { in tcp_bind_conflict() 261 if (tb->fastreuse > 0 && sk->reuse != 0 && sk->state != TCP_LISTEN) { in tcp_v4_get_port() 274 if (sk->reuse && sk->state != TCP_LISTEN) in tcp_v4_get_port() 279 ((sk->reuse == 0) || (sk->state == TCP_LISTEN))) in tcp_v4_get_port() 360 if(listen_possible && sk->state == TCP_LISTEN) { in __tcp_v4_hash() 375 if (listen_possible && sk->state == TCP_LISTEN) in __tcp_v4_hash() 395 if (sk->state == TCP_LISTEN) { in tcp_unhash() 415 if (sk->state == TCP_LISTEN) in tcp_unhash() 934 if (sk->state == TCP_LISTEN) in do_pmtu_discovery() 1021 if (sk->state != TCP_LISTEN && !between(seq, tp->snd_una, tp->snd_nxt)) { in tcp_v4_err() [all …]
|
D | tcp.c | 387 if (sk->state == TCP_LISTEN) in tcp_poll() 489 if (sk->state == TCP_LISTEN) in tcp_ioctl() 513 if (sk->state == TCP_LISTEN) in tcp_ioctl() 559 sk->state = TCP_LISTEN; in tcp_listen_start() 1423 if (sk->state == TCP_LISTEN) in tcp_read_sock() 1492 if (sk->state == TCP_LISTEN) in tcp_recvmsg() 1918 if(sk->state == TCP_LISTEN) { in tcp_close() 2096 if (old_state == TCP_LISTEN) { in tcp_disconnect() 2184 if (sk->state != TCP_LISTEN) in wait_for_connect() 2215 if (sk->state != TCP_LISTEN) in tcp_accept()
|
D | af_inet.c | 302 if (old_state != TCP_LISTEN) { in inet_listen() 798 case TCP_LISTEN: in inet_shutdown()
|
D | tcp_timer.c | 592 if (sk->state == TCP_LISTEN) { in tcp_keepalive_timer()
|
/linux-2.4.37.9/include/linux/ |
D | tcp.h | 69 TCP_LISTEN, enumerator
|
/linux-2.4.37.9/net/khttpd/ |
D | userspace.c | 198 if (sk->state != TCP_LISTEN || tcp_acceptq_is_full(sk)) in AddSocketToAcceptQueue()
|
/linux-2.4.37.9/net/decnet/ |
D | af_decnet.c | 404 if (sk->state != TCP_LISTEN) in dn_sklist_find_listener() 422 if (dn_wild_sk && (dn_wild_sk->state == TCP_LISTEN)) in dn_sklist_find_listener() 979 while(sk->state == TCP_LISTEN) { in dn_wait_accept() 986 if (sk->state == TCP_LISTEN) in dn_wait_accept() 1017 if (sk->state != TCP_LISTEN) { in dn_accept() 1078 newsk->state = TCP_LISTEN; in dn_accept() 1268 if ((DN_SK(sk)->state != DN_O) || (sk->state == TCP_LISTEN)) in dn_listen() 1273 sk->state = TCP_LISTEN; in dn_listen()
|
/linux-2.4.37.9/net/ax25/ |
D | ax25_std_timer.c | 53 if (ax25->sk == NULL || ax25->sk->destroy || (ax25->sk->state == TCP_LISTEN && ax25->sk->dead)) { in ax25_std_heartbeat_expiry()
|
D | ax25_ds_timer.c | 109 if (ax25->sk == NULL || ax25->sk->destroy || (ax25->sk->state == TCP_LISTEN && ax25->sk->dead)) { in ax25_ds_heartbeat_expiry()
|
D | af_ax25.c | 274 …NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == type && s->sk->state == TCP_LISTEN) { in ax25_find_listener() 724 (sock->state != SS_UNCONNECTED || sk->state == TCP_LISTEN)) in ax25_setsockopt() 831 if (sk->type == SOCK_SEQPACKET && sk->state != TCP_LISTEN) { in ax25_listen() 833 sk->state = TCP_LISTEN; in ax25_listen() 1296 if (sk->state != TCP_LISTEN) in ax25_accept()
|
/linux-2.4.37.9/net/unix/ |
D | af_unix.c | 387 if (state==TCP_LISTEN) in unix_release_sock() 431 if (sk->state != TCP_CLOSE && sk->state != TCP_LISTEN) in unix_listen() 436 sk->state=TCP_LISTEN; in unix_listen() 905 if (other->state != TCP_LISTEN) in unix_stream_connect() 1053 if (sk->state!=TCP_LISTEN) in unix_accept() 1691 if (sk->state==TCP_LISTEN) { in unix_ioctl() 1771 s->state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in unix_read_proc()
|
D | garbage.c | 282 if (x->state == TCP_LISTEN) { in unix_gc()
|
/linux-2.4.37.9/net/x25/ |
D | af_x25.c | 253 s->state == TCP_LISTEN) { in x25_find_listener() 425 if (sk->state != TCP_LISTEN) { in x25_listen() 428 sk->state = TCP_LISTEN; in x25_listen() 705 if (sk->state != TCP_LISTEN) in x25_accept() 1166 if (sk->state != TCP_LISTEN && sk->state != TCP_CLOSE) in x25_ioctl()
|
D | x25_timer.c | 132 if (sk->destroy || (sk->state == TCP_LISTEN && sk->dead)) { in x25_heartbeat_expiry()
|
/linux-2.4.37.9/include/net/sctp/ |
D | constants.h | 221 SCTP_SS_LISTENING = TCP_LISTEN,
|
/linux-2.4.37.9/net/ipv6/ |
D | tcp_ipv6.c | 139 if (tb->fastreuse > 0 && sk->reuse != 0 && sk->state != TCP_LISTEN) { in tcp_v6_get_port() 154 sk2->state == TCP_LISTEN) { in tcp_v6_get_port() 188 if (sk->reuse && sk->state != TCP_LISTEN) in tcp_v6_get_port() 193 ((sk->reuse == 0) || (sk->state == TCP_LISTEN))) in tcp_v6_get_port() 223 if(sk->state == TCP_LISTEN) { in __tcp_v6_hash() 759 if (sk->state != TCP_LISTEN && !between(seq, tp->snd_una, tp->snd_nxt)) { in tcp_v6_err() 810 case TCP_LISTEN: in tcp_v6_err() 1494 if (sk->state == TCP_LISTEN) { in tcp_v6_do_rcv()
|
/linux-2.4.37.9/net/rose/ |
D | af_rose.c | 288 ….rose->source_call, call) == 0 && s->protinfo.rose->source_ndigis == 0 && s->state == TCP_LISTEN) { in rose_find_listener() 295 … 0 && ax25cmp(&s->protinfo.rose->source_call, &null_ax25_address) == 0 && s->state == TCP_LISTEN) { in rose_find_listener() 529 if (sk->state != TCP_LISTEN) { in rose_listen() 535 sk->state = TCP_LISTEN; in rose_listen() 863 if (sk->state != TCP_LISTEN) in rose_accept()
|
D | rose_timer.c | 136 if (sk->destroy || (sk->state == TCP_LISTEN && sk->dead)) { in rose_heartbeat_expiry()
|
/linux-2.4.37.9/net/netrom/ |
D | af_netrom.c | 209 if (ax25cmp(&s->protinfo.nr->source_addr, addr) == 0 && s->state == TCP_LISTEN) { in nr_find_listener() 455 if (sk->state != TCP_LISTEN) { in nr_listen() 458 sk->state = TCP_LISTEN; in nr_listen() 766 if (sk->state != TCP_LISTEN) in nr_accept()
|
D | nr_timer.c | 142 if (sk->destroy || (sk->state == TCP_LISTEN && sk->dead)) { in nr_heartbeat_expiry()
|
/linux-2.4.37.9/net/ipx/ |
D | af_spx.c | 227 if(sk->state != TCP_LISTEN) in spx_listen() 230 sk->state = TCP_LISTEN; in spx_listen() 253 if(sk->state != TCP_LISTEN) in spx_accept()
|
/linux-2.4.37.9/net/sunrpc/ |
D | svcsock.c | 614 if (sk->state != TCP_LISTEN) { in svc_tcp_listen_data_ready() 810 if (svsk->sk_sk->state == TCP_LISTEN) { in svc_tcp_recvfrom() 972 if (sk->state == TCP_LISTEN) { in svc_tcp_init()
|
/linux-2.4.37.9/net/core/ |
D | datagram.c | 84 if(connection_based(sk) && !(sk->state==TCP_ESTABLISHED || sk->state==TCP_LISTEN)) in wait_for_packet()
|
D | sock.c | 572 v.val = (sk->state == TCP_LISTEN); in sock_getsockopt()
|
/linux-2.4.37.9/net/irda/ |
D | af_irda.c | 769 if (sk->state != TCP_LISTEN) { in irda_listen() 771 sk->state = TCP_LISTEN; in irda_listen() 869 if (sk->state != TCP_LISTEN) in irda_accept()
|