TCP_LISTEN 781 drivers/crypto/chelsio/chtls/chtls_cm.c if (likely(parent->sk_state == TCP_LISTEN)) { TCP_LISTEN 1187 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 1388 drivers/crypto/chelsio/chtls/chtls_cm.c if (lsk->sk_state != TCP_LISTEN) TCP_LISTEN 147 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 156 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1563 drivers/nvme/target/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1997 fs/ocfs2/cluster/tcp.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 22 include/linux/dccp.h DCCP_LISTEN = TCP_LISTEN, TCP_LISTEN 197 include/net/sctp/constants.h SCTP_SS_LISTENING = TCP_LISTEN, TCP_LISTEN 43 include/net/tcp_states.h TCPF_LISTEN = (1 << TCP_LISTEN), TCP_LISTEN 34 include/trace/events/sock.h EM(TCP_LISTEN) \ TCP_LISTEN 532 include/trace/events/sunrpc.h EM( TCP_LISTEN, "LISTEN" ) \ TCP_LISTEN 162 net/ax25/af_ax25.c s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { TCP_LISTEN 312 net/ax25/af_ax25.c skb->sk->sk_state = TCP_LISTEN; TCP_LISTEN 650 net/ax25/af_ax25.c sk->sk_state == TCP_LISTEN)) { TCP_LISTEN 784 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { TCP_LISTEN 786 net/ax25/af_ax25.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 1351 net/ax25/af_ax25.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 105 net/ax25/ax25_ds_timer.c (sk->sk_state == TCP_LISTEN && TCP_LISTEN 42 net/ax25/ax25_std_timer.c (sk->sk_state == TCP_LISTEN && TCP_LISTEN 113 net/core/datagram.c !(sk->sk_state == TCP_ESTABLISHED || sk->sk_state == TCP_LISTEN)) TCP_LISTEN 5714 net/core/filter.c if (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_RCU_FREE)) TCP_LISTEN 5805 net/core/filter.c if (sk->sk_protocol != IPPROTO_TCP || sk->sk_state != TCP_LISTEN) TCP_LISTEN 5871 net/core/filter.c if (sk->sk_protocol != IPPROTO_TCP || sk->sk_state != TCP_LISTEN) TCP_LISTEN 106 net/core/request_sock.c if (!reset || lsk->sk_state != TCP_LISTEN) { TCP_LISTEN 1408 net/core/sock.c v.val = sk->sk_state == TCP_LISTEN; TCP_LISTEN 375 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 395 net/decnet/af_decnet.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1050 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 1079 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { TCP_LISTEN 1120 net/decnet/af_decnet.c newsk->sk_state = TCP_LISTEN; TCP_LISTEN 1275 net/decnet/af_decnet.c if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) TCP_LISTEN 1280 net/decnet/af_decnet.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 215 net/ipv4/af_inet.c if (old_state != TCP_LISTEN) { TCP_LISTEN 886 net/ipv4/af_inet.c case TCP_LISTEN: TCP_LISTEN 155 net/ipv4/inet_connection_sock.c sk2->sk_state == TCP_LISTEN) && TCP_LISTEN 164 net/ipv4/inet_connection_sock.c sk2->sk_state != TCP_LISTEN) { TCP_LISTEN 293 net/ipv4/inet_connection_sock.c bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; TCP_LISTEN 426 net/ipv4/inet_connection_sock.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 456 net/ipv4/inet_connection_sock.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 721 net/ipv4/inet_connection_sock.c if (inet_sk_state_load(sk_listener) != TCP_LISTEN) TCP_LISTEN 908 net/ipv4/inet_connection_sock.c inet_sk_state_store(sk, TCP_LISTEN); TCP_LISTEN 955 net/ipv4/inet_connection_sock.c if (unlikely(sk->sk_state != TCP_LISTEN)) { TCP_LISTEN 544 net/ipv4/inet_hashtables.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 596 net/ipv4/inet_hashtables.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 510 net/ipv4/tcp.c if (state == TCP_LISTEN) TCP_LISTEN 610 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 622 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 631 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1631 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1761 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1980 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 2238 net/ipv4/tcp.c BUILD_BUG_ON((int)BPF_TCP_LISTEN != (int)TCP_LISTEN); TCP_LISTEN 2292 net/ipv4/tcp.c [TCP_LISTEN] = TCP_CLOSE, TCP_LISTEN 2355 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 2581 net/ipv4/tcp.c if (old_state == TCP_LISTEN) { TCP_LISTEN 2700 net/ipv4/tcp.c (sk->sk_state != TCP_LISTEN); TCP_LISTEN 3238 net/ipv4/tcp.c if (info->tcpi_state == TCP_LISTEN) { TCP_LISTEN 3901 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 80 net/ipv4/tcp_dctcp.c (sk->sk_state == TCP_LISTEN || TCP_LISTEN 23 net/ipv4/tcp_diag.c if (inet_sk_state_load(sk) == TCP_LISTEN) { TCP_LISTEN 6148 net/ipv4/tcp_input.c case TCP_LISTEN: TCP_LISTEN 486 net/ipv4/tcp_ipv4.c if (sk->sk_state != TCP_LISTEN && TCP_LISTEN 512 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 913 net/ipv4/tcp_ipv4.c u32 seq = (sk->sk_state == TCP_LISTEN) ? tcp_rsk(req)->snt_isn + 1 : TCP_LISTEN 1571 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 1870 net/ipv4/tcp_ipv4.c if (unlikely(sk->sk_state != TCP_LISTEN)) { TCP_LISTEN 1932 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 2456 net/ipv4/tcp_ipv4.c if (state == TCP_LISTEN) TCP_LISTEN 2481 net/ipv4/tcp_ipv4.c state == TCP_LISTEN ? TCP_LISTEN 665 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 412 net/ipv6/tcp_ipv6.c if (sk->sk_state != TCP_LISTEN && TCP_LISTEN 435 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 1051 net/ipv6/tcp_ipv6.c tcp_v6_send_ack(sk, skb, (sk->sk_state == TCP_LISTEN) ? TCP_LISTEN 1387 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 1540 net/ipv6/tcp_ipv6.c if (unlikely(sk->sk_state != TCP_LISTEN)) { TCP_LISTEN 1597 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 1893 net/ipv6/tcp_ipv6.c if (state == TCP_LISTEN) TCP_LISTEN 1924 net/ipv6/tcp_ipv6.c state == TCP_LISTEN ? TCP_LISTEN 1401 net/kcm/kcmsock.c if (csk->sk_state == TCP_LISTEN || csk->sk_state == TCP_CLOSE) { TCP_LISTEN 541 net/llc/af_llc.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 543 net/llc/af_llc.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 680 net/llc/af_llc.c sk->sk_state != TCP_LISTEN)) TCP_LISTEN 707 net/llc/af_llc.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 745 net/llc/af_llc.c if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) TCP_LISTEN 532 net/llc/llc_conn.c return sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN && TCP_LISTEN 792 net/llc/llc_conn.c if (unlikely(sk->sk_state == TCP_LISTEN)) { TCP_LISTEN 210 net/llc/llc_sap.c if (ev->ind_cfm_flag == LLC_IND && skb->sk->sk_state != TCP_LISTEN) { TCP_LISTEN 130 net/netrom/af_netrom.c s->sk_state == TCP_LISTEN) { TCP_LISTEN 381 net/netrom/af_netrom.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 384 net/netrom/af_netrom.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 761 net/netrom/af_netrom.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 123 net/netrom/nr_timer.c (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { TCP_LISTEN 679 net/phonet/pep.c if (sk->sk_state != TCP_LISTEN || sk_acceptq_is_full(sk)) { TCP_LISTEN 780 net/phonet/pep.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 926 net/phonet/pep.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 301 net/phonet/socket.c if (unlikely(sk->sk_state != TCP_LISTEN)) TCP_LISTEN 408 net/phonet/socket.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 409 net/phonet/socket.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 277 net/rds/tcp_listen.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 230 net/rose/af_rose.c !rose->source_ndigis && s->sk_state == TCP_LISTEN) TCP_LISTEN 239 net/rose/af_rose.c s->sk_state == TCP_LISTEN) TCP_LISTEN 467 net/rose/af_rose.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 475 net/rose/af_rose.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 870 net/rose/af_rose.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 130 net/rose/rose_timer.c (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { TCP_LISTEN 740 net/sunrpc/svcsock.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 1215 net/sunrpc/svcsock.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 59 net/tipc/socket.c TIPC_LISTEN = TCP_LISTEN, TCP_LISTEN 448 net/unix/af_unix.c return sk->sk_state != TCP_LISTEN && TCP_LISTEN 560 net/unix/af_unix.c if (state == TCP_LISTEN) TCP_LISTEN 621 net/unix/af_unix.c if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) TCP_LISTEN 626 net/unix/af_unix.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 1272 net/unix/af_unix.c if (other->sk_state != TCP_LISTEN) TCP_LISTEN 1444 net/unix/af_unix.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 2508 net/unix/af_unix.c if (sk->sk_state == TCP_LISTEN) TCP_LISTEN 2790 net/unix/af_unix.c s->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, TCP_LISTEN 67 net/unix/diag.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 105 net/unix/diag.c if (sk->sk_state == TCP_LISTEN) { TCP_LISTEN 136 net/unix/garbage.c if (x->sk_state != TCP_LISTEN) { TCP_LISTEN 887 net/vmw_vsock/af_vsock.c if (sk->sk_state == TCP_LISTEN TCP_LISTEN 1156 net/vmw_vsock/af_vsock.c if ((sk->sk_state == TCP_LISTEN) || TCP_LISTEN 1270 net/vmw_vsock/af_vsock.c if (listener->sk_state != TCP_LISTEN) { TCP_LISTEN 1360 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 308 net/vmw_vsock/hyperv_transport.c if ((conn_from_host && sk->sk_state != TCP_LISTEN) || TCP_LISTEN 1114 net/vmw_vsock/virtio_transport_common.c case TCP_LISTEN: TCP_LISTEN 914 net/vmw_vsock/vmci_transport.c case TCP_LISTEN: TCP_LISTEN 288 net/x25/af_x25.c s->sk_state == TCP_LISTEN) { TCP_LISTEN 399 net/x25/af_x25.c skb->sk->sk_state = TCP_LISTEN; TCP_LISTEN 495 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN) { TCP_LISTEN 498 net/x25/af_x25.c sk->sk_state = TCP_LISTEN; TCP_LISTEN 882 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN) TCP_LISTEN 1444 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN && TCP_LISTEN 1497 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN && TCP_LISTEN 107 net/x25/x25_timer.c (sk->sk_state == TCP_LISTEN && TCP_LISTEN 68 tools/testing/vsock/vsock_diag_test.c case TCP_LISTEN: TCP_LISTEN 381 tools/testing/vsock/vsock_diag_test.c check_socket_state(st, TCP_LISTEN);