Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/net/ipv4/
Dtcp_ipv4.c197 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 …]
Dtcp.c387 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()
Daf_inet.c302 if (old_state != TCP_LISTEN) { in inet_listen()
798 case TCP_LISTEN: in inet_shutdown()
Dtcp_timer.c592 if (sk->state == TCP_LISTEN) { in tcp_keepalive_timer()
/linux-2.4.37.9/include/linux/
Dtcp.h69 TCP_LISTEN, enumerator
/linux-2.4.37.9/net/khttpd/
Duserspace.c198 if (sk->state != TCP_LISTEN || tcp_acceptq_is_full(sk)) in AddSocketToAcceptQueue()
/linux-2.4.37.9/net/decnet/
Daf_decnet.c404 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/
Dax25_std_timer.c53 if (ax25->sk == NULL || ax25->sk->destroy || (ax25->sk->state == TCP_LISTEN && ax25->sk->dead)) { in ax25_std_heartbeat_expiry()
Dax25_ds_timer.c109 if (ax25->sk == NULL || ax25->sk->destroy || (ax25->sk->state == TCP_LISTEN && ax25->sk->dead)) { in ax25_ds_heartbeat_expiry()
Daf_ax25.c274 …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/
Daf_unix.c387 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()
Dgarbage.c282 if (x->state == TCP_LISTEN) { in unix_gc()
/linux-2.4.37.9/net/x25/
Daf_x25.c253 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()
Dx25_timer.c132 if (sk->destroy || (sk->state == TCP_LISTEN && sk->dead)) { in x25_heartbeat_expiry()
/linux-2.4.37.9/include/net/sctp/
Dconstants.h221 SCTP_SS_LISTENING = TCP_LISTEN,
/linux-2.4.37.9/net/ipv6/
Dtcp_ipv6.c139 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/
Daf_rose.c288 ….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()
Drose_timer.c136 if (sk->destroy || (sk->state == TCP_LISTEN && sk->dead)) { in rose_heartbeat_expiry()
/linux-2.4.37.9/net/netrom/
Daf_netrom.c209 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()
Dnr_timer.c142 if (sk->destroy || (sk->state == TCP_LISTEN && sk->dead)) { in nr_heartbeat_expiry()
/linux-2.4.37.9/net/ipx/
Daf_spx.c227 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/
Dsvcsock.c614 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/
Ddatagram.c84 if(connection_based(sk) && !(sk->state==TCP_ESTABLISHED || sk->state==TCP_LISTEN)) in wait_for_packet()
Dsock.c572 v.val = (sk->state == TCP_LISTEN); in sock_getsockopt()
/linux-2.4.37.9/net/irda/
Daf_irda.c769 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()

12