Home
last modified time | relevance | path

Searched refs:TCP_LISTEN (Results 1 - 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/include/net/
H A Dtcp_states.h22 TCP_LISTEN, enumerator
43 TCPF_LISTEN = (1 << TCP_LISTEN),
/kernel/linux/linux-6.6/include/net/
H A Dtcp_states.h22 TCP_LISTEN, enumerator
43 TCPF_LISTEN = (1 << TCP_LISTEN),
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c116 if (state == TCP_LISTEN) { in dump_tcp_sock()
141 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
H A Dbpf_iter_tcp6.c116 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 Dgarbage.c136 if (x->sk_state != TCP_LISTEN) { in scan_children()
263 if (sk->sk_state == TCP_LISTEN) { in unix_gc()
H A Ddiag.c67 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 Dbpf_iter_tcp4.c115 if (state == TCP_LISTEN) { in dump_tcp_sock()
140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
H A Dbpf_iter_setsockopt.c50 (sk->sk_state != TCP_LISTEN && in change_tcp_cc()
H A Dbpf_iter_unix.c44 sk->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in dump_unix()
H A Dbpf_iter_tcp6.c115 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 Dinet_connection_sock.c160 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 Dtcp_ulp.c140 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
H A Dtcp.c528 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 Dinet_connection_sock.c181 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 Dtcp_ulp.c143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
/kernel/linux/linux-5.10/net/core/
H A Drequest_sock.c103 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
/kernel/linux/linux-6.6/net/core/
H A Drequest_sock.c103 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
/kernel/linux/linux-5.10/net/ipv6/
H A Dtcp_ipv6.c431 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 Dx25_timer.c107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
/kernel/linux/linux-6.6/net/mptcp/
H A Ddiag.c24 if (inet_sk_state_load(sk) == TCP_LISTEN) in subflow_get_info()
/kernel/linux/linux-6.6/net/x25/
H A Dx25_timer.c107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
/kernel/linux/linux-5.10/net/phonet/
H A Dsocket.c301 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 Dsocket.c301 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 Daf_llc.c570 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 Daf_llc.c571 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()

Completed in 23 milliseconds

12345