/linux/include/net/ |
A D | tcp_states.h | 22 TCP_LISTEN, enumerator 43 TCPF_LISTEN = (1 << TCP_LISTEN),
|
/linux/net/ipv4/ |
A D | inet_connection_sock.c | 163 sk2->sk_state != TCP_LISTEN) { in inet_csk_bind_conflict() 311 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse() 364 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port() 455 if (sk->sk_state != TCP_LISTEN) in inet_csk_wait_for_connect() 485 if (sk->sk_state != TCP_LISTEN) in inet_csk_accept() 806 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) { in reqsk_timer_handler() 1054 inet_sk_state_store(sk, TCP_LISTEN); in inet_csk_listen_start() 1101 if (unlikely(sk->sk_state != TCP_LISTEN)) { in inet_csk_reqsk_queue_add()
|
A D | tcp.c | 503 if (state == TCP_LISTEN) in tcp_poll() 603 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 615 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 624 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 1627 if (sk->sk_state == TCP_LISTEN) in tcp_read_sock() 2063 if (sk->sk_state == TCP_LISTEN) in tcp_zerocopy_receive() 2294 if (sk->sk_state == TCP_LISTEN) in tcp_recvmsg_locked() 2635 [TCP_LISTEN] = TCP_CLOSE, 2722 if (sk->sk_state == TCP_LISTEN) { in __tcp_close() 2949 if (old_state == TCP_LISTEN) { in tcp_disconnect() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_iter_tcp4.c | 115 if (state == TCP_LISTEN) { in dump_tcp_sock() 140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
|
A D | bpf_iter_tcp6.c | 115 if (state == TCP_LISTEN) { in dump_tcp6_sock() 144 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
|
A D | bpf_iter_setsockopt.c | 51 (sk->sk_state != TCP_LISTEN && in change_tcp_cc()
|
A D | bpf_iter_unix.c | 44 sk->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in dump_unix()
|
/linux/net/core/ |
A D | request_sock.c | 106 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
|
/linux/net/x25/ |
A D | af_x25.c | 278 s->sk_state == TCP_LISTEN) { in x25_find_listener() 389 skb->sk->sk_state = TCP_LISTEN; in __x25_destroy_socket() 485 if (sk->sk_state != TCP_LISTEN) { in x25_listen() 488 sk->sk_state = TCP_LISTEN; in x25_listen() 880 if (sk->sk_state != TCP_LISTEN) in x25_accept() 1445 if (sk->sk_state != TCP_LISTEN && in x25_ioctl() 1498 if (sk->sk_state != TCP_LISTEN && in x25_ioctl()
|
A D | x25_timer.c | 107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
|
/linux/net/unix/ |
A D | diag.c | 67 if (sk->sk_state == TCP_LISTEN) { in sk_diag_dump_icons() 105 if (sk->sk_state == TCP_LISTEN) { in sk_diag_show_rqlen()
|
A D | garbage.c | 136 if (x->sk_state != TCP_LISTEN) { in scan_children()
|
/linux/tools/testing/vsock/ |
A D | vsock_diag_test.c | 58 case TCP_LISTEN: in sock_state_str() 369 check_socket_state(st, TCP_LISTEN); in test_listen_socket_server()
|
/linux/net/llc/ |
A D | af_llc.c | 551 if (sk->sk_state != TCP_LISTEN) { in llc_ui_listen() 553 sk->sk_state = TCP_LISTEN; in llc_ui_listen() 690 sk->sk_state != TCP_LISTEN)) in llc_ui_accept() 717 sk->sk_state = TCP_LISTEN; in llc_ui_accept() 755 if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) in llc_ui_recvmsg()
|
/linux/net/ipv6/ |
A D | tcp_ipv6.c | 429 if (sk->sk_state != TCP_LISTEN && in tcp_v6_err() 454 if (sk->sk_state == TCP_LISTEN) in tcp_v6_err() 494 case TCP_LISTEN: in tcp_v6_err() 1165 tcp_v6_send_ack(sk, skb, (sk->sk_state == TCP_LISTEN) ? in tcp_v6_reqsk_send_ack() 1533 if (sk->sk_state == TCP_LISTEN) { in tcp_v6_do_rcv() 1687 if (unlikely(sk->sk_state != TCP_LISTEN)) { in tcp_v6_rcv() 1756 if (sk->sk_state == TCP_LISTEN) { in tcp_v6_rcv() 2047 if (state == TCP_LISTEN) in get_tcp6_sock() 2078 state == TCP_LISTEN ? in get_tcp6_sock()
|
/linux/net/phonet/ |
A D | socket.c | 301 if (unlikely(sk->sk_state != TCP_LISTEN)) in pn_socket_accept() 407 if (sk->sk_state != TCP_LISTEN) { in pn_socket_listen() 408 sk->sk_state = TCP_LISTEN; in pn_socket_listen()
|
/linux/net/decnet/ |
A D | af_decnet.c | 376 if (sk->sk_state != TCP_LISTEN) in dn_sklist_find_listener() 396 if (sk->sk_state == TCP_LISTEN) in dn_sklist_find_listener() 1049 if (sk->sk_state != TCP_LISTEN) in dn_wait_for_connect() 1077 if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { in dn_accept() 1118 newsk->sk_state = TCP_LISTEN; in dn_accept() 1273 if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) in dn_listen() 1278 sk->sk_state = TCP_LISTEN; in dn_listen()
|
/linux/net/ax25/ |
A D | af_ax25.c | 164 s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { in ax25_find_listener() 314 skb->sk->sk_state = TCP_LISTEN; in ax25_destroy_socket() 652 sk->sk_state == TCP_LISTEN)) { in ax25_setsockopt() 786 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen() 788 sk->sk_state = TCP_LISTEN; in ax25_listen() 1357 if (sk->sk_state != TCP_LISTEN) { in ax25_accept()
|
A D | ax25_std_timer.c | 42 (sk->sk_state == TCP_LISTEN && in ax25_std_heartbeat_expiry()
|
A D | ax25_ds_timer.c | 105 (sk->sk_state == TCP_LISTEN && in ax25_ds_heartbeat_expiry()
|
/linux/net/rose/ |
A D | af_rose.c | 253 !rose->source_ndigis && s->sk_state == TCP_LISTEN) in rose_find_listener() 262 s->sk_state == TCP_LISTEN) in rose_find_listener() 490 if (sk->sk_state != TCP_LISTEN) { in rose_listen() 498 sk->sk_state = TCP_LISTEN; in rose_listen() 893 if (sk->sk_state != TCP_LISTEN) { in rose_accept()
|
A D | rose_timer.c | 130 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry()
|
/linux/include/net/sctp/ |
A D | constants.h | 198 SCTP_SS_LISTENING = TCP_LISTEN,
|
/linux/net/netrom/ |
A D | af_netrom.c | 152 s->sk_state == TCP_LISTEN) { in nr_find_listener() 403 if (sk->sk_state != TCP_LISTEN) { in nr_listen() 406 sk->sk_state = TCP_LISTEN; in nr_listen() 783 if (sk->sk_state != TCP_LISTEN) { in nr_accept()
|
/linux/include/linux/ |
A D | dccp.h | 22 DCCP_LISTEN = TCP_LISTEN,
|