/linux-6.1.9/include/net/ |
D | tcp_states.h | 22 TCP_LISTEN, enumerator 43 TCPF_LISTEN = (1 << TCP_LISTEN),
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
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()
|
D | bpf_iter_setsockopt.c | 51 (sk->sk_state != TCP_LISTEN && in change_tcp_cc()
|
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()
|
D | bpf_iter_unix.c | 44 sk->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in dump_unix()
|
/linux-6.1.9/net/core/ |
D | request_sock.c | 106 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
|
/linux-6.1.9/net/ipv4/ |
D | inet_connection_sock.c | 160 sk2->sk_state != TCP_LISTEN) { in inet_bind_conflict() 435 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse() 489 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port() 620 if (sk->sk_state != TCP_LISTEN) in inet_csk_wait_for_connect() 650 if (sk->sk_state != TCP_LISTEN) in inet_csk_accept() 972 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) { in reqsk_timer_handler() 1236 inet_sk_state_store(sk, TCP_LISTEN); in inet_csk_listen_start() 1284 if (unlikely(sk->sk_state != TCP_LISTEN)) { in inet_csk_reqsk_queue_add()
|
D | tcp_ulp.c | 143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
|
D | tcp.c | 506 if (state == TCP_LISTEN) in tcp_poll() 607 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 619 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 628 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 1689 if (sk->sk_state == TCP_LISTEN) in tcp_read_sock() 1762 if (sk->sk_state == TCP_LISTEN) in tcp_read_skb() 1807 if (sk->sk_state == TCP_LISTEN) in tcp_read_done() 2210 if (sk->sk_state == TCP_LISTEN) in tcp_zerocopy_receive() 2440 if (sk->sk_state == TCP_LISTEN) in tcp_recvmsg_locked() 2717 BUILD_BUG_ON((int)BPF_TCP_LISTEN != (int)TCP_LISTEN); in tcp_set_state() [all …]
|
/linux-6.1.9/net/x25/ |
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() 885 if (sk->sk_state != TCP_LISTEN) in x25_accept() 1449 if (sk->sk_state != TCP_LISTEN && in x25_ioctl() 1502 if (sk->sk_state != TCP_LISTEN && in x25_ioctl()
|
D | x25_timer.c | 107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
|
/linux-6.1.9/tools/testing/vsock/ |
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-6.1.9/net/unix/ |
D | diag.c | 68 if (sk->sk_state == TCP_LISTEN) { in sk_diag_dump_icons() 106 if (sk->sk_state == TCP_LISTEN) { in sk_diag_show_rqlen()
|
D | garbage.c | 136 if (x->sk_state != TCP_LISTEN) { in scan_children()
|
/linux-6.1.9/net/llc/ |
D | af_llc.c | 569 if (sk->sk_state != TCP_LISTEN) { in llc_ui_listen() 571 sk->sk_state = TCP_LISTEN; in llc_ui_listen() 708 sk->sk_state != TCP_LISTEN)) in llc_ui_accept() 735 sk->sk_state = TCP_LISTEN; in llc_ui_accept() 773 if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) in llc_ui_recvmsg()
|
/linux-6.1.9/net/ipv6/ |
D | tcp_ipv6.c | 437 if (sk->sk_state != TCP_LISTEN && in tcp_v6_err() 462 if (sk->sk_state == TCP_LISTEN) in tcp_v6_err() 502 case TCP_LISTEN: in tcp_v6_err() 1127 tcp_v6_send_ack(sk, skb, (sk->sk_state == TCP_LISTEN) ? in tcp_v6_reqsk_send_ack() 1499 if (sk->sk_state == TCP_LISTEN) { in tcp_v6_do_rcv() 1661 if (unlikely(sk->sk_state != TCP_LISTEN)) { in tcp_v6_rcv() 1738 if (sk->sk_state == TCP_LISTEN) { in tcp_v6_rcv() 2032 if (state == TCP_LISTEN) in get_tcp6_sock() 2063 state == TCP_LISTEN ? in get_tcp6_sock()
|
/linux-6.1.9/net/ax25/ |
D | ax25_std_timer.c | 42 (sk->sk_state == TCP_LISTEN && in ax25_std_heartbeat_expiry()
|
D | ax25_ds_timer.c | 105 (sk->sk_state == TCP_LISTEN && in ax25_ds_heartbeat_expiry()
|
D | af_ax25.c | 182 s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { in ax25_find_listener() 332 skb->sk->sk_state = TCP_LISTEN; in ax25_destroy_socket() 675 sk->sk_state == TCP_LISTEN)) { in ax25_setsockopt() 809 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen() 811 sk->sk_state = TCP_LISTEN; in ax25_listen() 1397 if (sk->sk_state != TCP_LISTEN) { in ax25_accept()
|
/linux-6.1.9/net/phonet/ |
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-6.1.9/include/net/sctp/ |
D | constants.h | 198 SCTP_SS_LISTENING = TCP_LISTEN,
|
/linux-6.1.9/net/rose/ |
D | af_rose.c | 254 !rose->source_ndigis && s->sk_state == TCP_LISTEN) in rose_find_listener() 263 s->sk_state == TCP_LISTEN) in rose_find_listener() 491 if (sk->sk_state != TCP_LISTEN) { in rose_listen() 499 sk->sk_state = TCP_LISTEN; in rose_listen() 903 if (sk->sk_state != TCP_LISTEN) { in rose_accept()
|
D | rose_timer.c | 130 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry()
|
/linux-6.1.9/include/linux/ |
D | dccp.h | 22 DCCP_LISTEN = TCP_LISTEN,
|
/linux-6.1.9/net/netrom/ |
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()
|