Home
last modified time | relevance | path

Searched refs:TCP_LISTEN (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.1.9/include/net/
Dtcp_states.h22 TCP_LISTEN, enumerator
43 TCPF_LISTEN = (1 << TCP_LISTEN),
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c115 if (state == TCP_LISTEN) { in dump_tcp_sock()
140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
Dbpf_iter_setsockopt.c51 (sk->sk_state != TCP_LISTEN && in change_tcp_cc()
Dbpf_iter_tcp6.c115 if (state == TCP_LISTEN) { in dump_tcp6_sock()
144 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
Dbpf_iter_unix.c44 sk->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in dump_unix()
/linux-6.1.9/net/core/
Drequest_sock.c106 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
/linux-6.1.9/net/ipv4/
Dinet_connection_sock.c160 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()
Dtcp_ulp.c143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
Dtcp.c506 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/
Daf_x25.c278 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()
Dx25_timer.c107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
/linux-6.1.9/tools/testing/vsock/
Dvsock_diag_test.c58 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/
Ddiag.c68 if (sk->sk_state == TCP_LISTEN) { in sk_diag_dump_icons()
106 if (sk->sk_state == TCP_LISTEN) { in sk_diag_show_rqlen()
Dgarbage.c136 if (x->sk_state != TCP_LISTEN) { in scan_children()
/linux-6.1.9/net/llc/
Daf_llc.c569 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/
Dtcp_ipv6.c437 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/
Dax25_std_timer.c42 (sk->sk_state == TCP_LISTEN && in ax25_std_heartbeat_expiry()
Dax25_ds_timer.c105 (sk->sk_state == TCP_LISTEN && in ax25_ds_heartbeat_expiry()
Daf_ax25.c182 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/
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()
/linux-6.1.9/include/net/sctp/
Dconstants.h198 SCTP_SS_LISTENING = TCP_LISTEN,
/linux-6.1.9/net/rose/
Daf_rose.c254 !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()
Drose_timer.c130 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry()
/linux-6.1.9/include/linux/
Ddccp.h22 DCCP_LISTEN = TCP_LISTEN,
/linux-6.1.9/net/netrom/
Daf_netrom.c152 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()

123