Home
last modified time | relevance | path

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

123

/linux/include/net/
A Dtcp_states.h22 TCP_LISTEN, enumerator
43 TCPF_LISTEN = (1 << TCP_LISTEN),
/linux/net/ipv4/
A Dinet_connection_sock.c163 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 Dtcp.c503 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 Dbpf_iter_tcp4.c115 if (state == TCP_LISTEN) { in dump_tcp_sock()
140 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp_sock()
A Dbpf_iter_tcp6.c115 if (state == TCP_LISTEN) { in dump_tcp6_sock()
144 state == TCP_LISTEN ? fastopenq->max_qlen in dump_tcp6_sock()
A Dbpf_iter_setsockopt.c51 (sk->sk_state != TCP_LISTEN && in change_tcp_cc()
A Dbpf_iter_unix.c44 sk->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, in dump_unix()
/linux/net/core/
A Drequest_sock.c106 if (!reset || lsk->sk_state != TCP_LISTEN) { in reqsk_fastopen_remove()
/linux/net/x25/
A 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()
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 Dx25_timer.c107 (sk->sk_state == TCP_LISTEN && in x25_heartbeat_expiry()
/linux/net/unix/
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()
A Dgarbage.c136 if (x->sk_state != TCP_LISTEN) { in scan_children()
/linux/tools/testing/vsock/
A Dvsock_diag_test.c58 case TCP_LISTEN: in sock_state_str()
369 check_socket_state(st, TCP_LISTEN); in test_listen_socket_server()
/linux/net/llc/
A Daf_llc.c551 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 Dtcp_ipv6.c429 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 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/net/decnet/
A Daf_decnet.c376 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 Daf_ax25.c164 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 Dax25_std_timer.c42 (sk->sk_state == TCP_LISTEN && in ax25_std_heartbeat_expiry()
A Dax25_ds_timer.c105 (sk->sk_state == TCP_LISTEN && in ax25_ds_heartbeat_expiry()
/linux/net/rose/
A Daf_rose.c253 !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 Drose_timer.c130 (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { in rose_heartbeat_expiry()
/linux/include/net/sctp/
A Dconstants.h198 SCTP_SS_LISTENING = TCP_LISTEN,
/linux/net/netrom/
A 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()
/linux/include/linux/
A Ddccp.h22 DCCP_LISTEN = TCP_LISTEN,

Completed in 45 milliseconds

123