/kernel/linux/linux-5.10/include/net/ |
H A D | tcp_states.h | 22 TCP_LISTEN, enumerator 43 TCPF_LISTEN = (1 << TCP_LISTEN),
|
/kernel/linux/linux-6.6/include/net/ |
H A D | tcp_states.h | 22 TCP_LISTEN, enumerator 43 TCPF_LISTEN = (1 << TCP_LISTEN),
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_tcp4.c | 116 if (state == TCP_LISTEN) { in dump_tcp_sock() 141 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
|
H A D | bpf_iter_tcp6.c | 116 if (state == TCP_LISTEN) { in dump_tcp6_sock() 145 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
|
/kernel/linux/linux-5.10/net/unix/ |
H A D | garbage.c | 136 if (x->sk_state != TCP_LISTEN) { in scan_children() 263 if (sk->sk_state == TCP_LISTEN) { in unix_gc()
|
H 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H 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()
|
H A D | bpf_iter_setsockopt.c | 50 (sk->sk_state != TCP_LISTEN && in change_tcp_cc()
|
H A D | bpf_iter_unix.c | 44 sk->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in dump_unix()
|
H 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()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | inet_connection_sock.c | 160 sk2->sk_state != TCP_LISTEN) { in inet_csk_bind_conflict() 308 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse() 361 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port() 452 if (sk->sk_state != TCP_LISTEN) in inet_csk_wait_for_connect() 482 if (sk->sk_state != TCP_LISTEN) in inet_csk_accept() 759 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) in reqsk_timer_handler() 970 inet_sk_state_store(sk, TCP_LISTEN); in inet_csk_listen_start() 1017 if (unlikely(sk->sk_state != TCP_LISTEN)) { in inet_csk_reqsk_queue_add()
|
H A D | tcp_ulp.c | 140 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
|
H A D | tcp.c | 528 if (state == TCP_LISTEN) in tcp_poll() 629 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 641 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 650 if (sk->sk_state == TCP_LISTEN) in tcp_ioctl() 1656 if (sk->sk_state == TCP_LISTEN) in tcp_read_sock() 1927 if (sk->sk_state == TCP_LISTEN) in tcp_zerocopy_receive() 2169 if (sk->sk_state == TCP_LISTEN) in tcp_recvmsg() 2427 BUILD_BUG_ON((int)BPF_TCP_LISTEN != (int)TCP_LISTEN); in tcp_set_state() 2481 [TCP_LISTEN] = TCP_CLOSE, 2569 if (sk->sk_state == TCP_LISTEN) { in __tcp_close() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | inet_connection_sock.c | 181 sk2->sk_state != TCP_LISTEN) { in inet_bind_conflict() 456 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_update_fastreuse() 510 bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; in inet_csk_get_port() 641 if (sk->sk_state != TCP_LISTEN) in inet_csk_wait_for_connect() 671 if (sk->sk_state != TCP_LISTEN) in inet_csk_accept() 1000 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) { in reqsk_timer_handler() 1258 inet_sk_state_store(sk, TCP_LISTEN); in inet_csk_listen_start() 1306 if (unlikely(sk->sk_state != TCP_LISTEN)) { in inet_csk_reqsk_queue_add()
|
H A D | tcp_ulp.c | 143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | request_sock.c | 103 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | request_sock.c | 103 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tcp_ipv6.c | 431 if (sk->sk_state != TCP_LISTEN && in tcp_v6_err() 452 /* We are not interested in TCP_LISTEN and open_requests in tcp_v6_err() 456 if (sk->sk_state == TCP_LISTEN) in tcp_v6_err() 496 case TCP_LISTEN: in tcp_v6_err() 1143 /* sk->sk_state == TCP_LISTEN -> for regular TCP_SYN_RECV in tcp_v6_reqsk_send_ack() 1151 tcp_v6_send_ack(sk, skb, (sk->sk_state == TCP_LISTEN) ? in tcp_v6_reqsk_send_ack() 1444 * here, unless it is a TCP_LISTEN socket. 1514 if (sk->sk_state == TCP_LISTEN) { in tcp_v6_do_rcv() 1667 if (unlikely(sk->sk_state != TCP_LISTEN)) { in tcp_v6_rcv() 1724 if (sk->sk_state == TCP_LISTEN) { in tcp_v6_rcv() [all...] |
/kernel/linux/linux-5.10/net/x25/ |
H A D | x25_timer.c | 107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | diag.c | 24 if (inet_sk_state_load(sk) == TCP_LISTEN) in subflow_get_info()
|
/kernel/linux/linux-6.6/net/x25/ |
H A D | x25_timer.c | 107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
|
/kernel/linux/linux-5.10/net/phonet/ |
H A D | socket.c | 301 if (unlikely(sk->sk_state != TCP_LISTEN)) in pn_socket_accept() 408 if (sk->sk_state != TCP_LISTEN) { in pn_socket_listen() 409 sk->sk_state = TCP_LISTEN; in pn_socket_listen()
|
/kernel/linux/linux-6.6/net/phonet/ |
H 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()
|
/kernel/linux/linux-5.10/net/llc/ |
H A D | af_llc.c | 570 if (sk->sk_state != TCP_LISTEN) { in llc_ui_listen() 572 sk->sk_state = TCP_LISTEN; in llc_ui_listen() 711 sk->sk_state != TCP_LISTEN)) in llc_ui_accept() 738 sk->sk_state = TCP_LISTEN; in llc_ui_accept() 776 if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) in llc_ui_recvmsg()
|
/kernel/linux/linux-6.6/net/llc/ |
H A D | af_llc.c | 571 if (sk->sk_state != TCP_LISTEN) { in llc_ui_listen() 573 sk->sk_state = TCP_LISTEN; in llc_ui_listen() 712 sk->sk_state != TCP_LISTEN)) in llc_ui_accept() 739 sk->sk_state = TCP_LISTEN; in llc_ui_accept() 777 if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) in llc_ui_recvmsg()
|