/linux/include/net/ |
H A D | tcp_states.h | 19 TCP_CLOSE, enumerator 32 #define TCP_ACTION_FIN (1 << TCP_CLOSE) 41 TCPF_CLOSE = (1 << TCP_CLOSE),
|
H A D | inet6_hashtables.h | 126 if (sk->sk_state != TCP_CLOSE) in inet6_steal_sock()
|
H A D | dropreason-core.h | 44 FN(TCP_CLOSE) \
|
/linux/net/mptcp/ |
H A D | protocol.c | 409 sk->sk_state == TCP_CLOSE) in mptcp_close_wake_up() 439 mptcp_set_state(sk, TCP_CLOSE); in mptcp_check_data_fin_ack() 607 mptcp_set_state(sk, TCP_CLOSE); in mptcp_check_data_fin() 801 if (ssk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DEAD)) in __mptcp_subflow_error_report() 932 if (unlikely(inet_sk_state_load(sk) == TCP_CLOSE)) in mptcp_reset_rtx_timer() 941 if (inet_sk_state_load(sk) != TCP_CLOSE && in mptcp_schedule_work() 2175 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in mptcp_inq_hint() 2234 sk->sk_state == TCP_CLOSE || in mptcp_recvmsg() 2254 if (sk->sk_state == TCP_CLOSE) { in mptcp_recvmsg() 2521 inet_sk_state_load(msk->first) == TCP_CLOSE) { in __mptcp_close_ssk() [all …]
|
/linux/net/ipv4/ |
H A D | tcp.c | 560 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll() 831 if (sk->sk_state == TCP_CLOSE) { in tcp_splice_read() 866 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in tcp_splice_read() 1033 tcp_set_state(sk, TCP_CLOSE); in tcp_sendmsg_fastopen() 1395 if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) in tcp_recv_urg() 1418 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in tcp_recv_urg() 2661 sk->sk_state == TCP_CLOSE || in tcp_recvmsg_locked() 2677 if (sk->sk_state == TCP_CLOSE) { in tcp_recvmsg_locked() 2886 BUILD_BUG_ON((int)BPF_TCP_CLOSE != (int)TCP_CLOSE); in tcp_set_state() 2919 case TCP_CLOSE: in tcp_set_state() [all …]
|
/linux/net/x25/ |
H A D | af_x25.c | 652 sk->sk_state = TCP_CLOSE; in x25_release() 729 if (sk->sk_state == TCP_CLOSE) { in x25_wait_for_connection_establishment() 762 if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { in x25_connect() 775 sk->sk_state = TCP_CLOSE; in x25_connect() 1456 sk->sk_state != TCP_CLOSE) in x25_ioctl() 1509 sk->sk_state != TCP_CLOSE) in x25_ioctl() 1572 if(sk->sk_state != TCP_CLOSE) in x25_ioctl() 1591 if (sk->sk_state == TCP_CLOSE) { in x25_ioctl()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 44 /* (Invalid) */ TCP_CLOSE, 50 /* TCP_TIME_WAIT */ TCP_CLOSE, 51 /* TCP_CLOSE */ TCP_CLOSE, 54 /* TCP_LISTEN */ TCP_CLOSE, 353 if (sk->sk_state == TCP_CLOSE) { in chtls_close() 378 if (prev_state != TCP_CLOSE && sk->sk_state == TCP_CLOSE) in chtls_close() 390 if (sk->sk_state == TCP_CLOSE) in chtls_close() 456 if (sk->sk_state != TCP_CLOSE) { in chtls_disconnect() 509 if (child->sk_state == TCP_CLOSE) in reset_listen_child() 1509 if (sk->sk_state == TCP_CLOSE) in DECLARE_TASK_FUNC() [all …]
|
H A D | chtls_io.c | 1391 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_pt_recvmsg() 1407 if (sk->sk_state == TCP_CLOSE) { in chtls_pt_recvmsg() 1581 if (sk->sk_state == TCP_CLOSE) { in peekmsg() 1730 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_recvmsg() 1743 if (sk->sk_state == TCP_CLOSE) { in chtls_recvmsg()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | repair.c | 32 TCP_CLOSE, enumerator 101 if (state->info.tcpi_state == TCP_CLOSE) in __test_sock_checkpoint()
|
/linux/tools/testing/selftests/net/packetdrill/ |
H A D | tcp_zerocopy_closed.pkt | 4 // verify that a send in state TCP_CLOSE correctly aborts the zerocopy
|
/linux/net/llc/ |
H A D | af_llc.c | 516 sk->sk_state = TCP_CLOSE; in llc_ui_connect() 531 if (sk->sk_state == TCP_CLOSE) in llc_ui_connect() 589 READ_ONCE(sk->sk_state) == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc() 819 sk->sk_state == TCP_CLOSE || in llc_ui_recvmsg() 835 if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSE) { in llc_ui_recvmsg()
|
H A D | llc_conn.c | 107 sk->sk_state = TCP_CLOSE; in llc_conn_state_process() 142 sk->sk_state = TCP_CLOSE; in llc_conn_state_process() 154 sk->sk_state = TCP_CLOSE; in llc_conn_state_process()
|
/linux/net/vmw_vsock/ |
H A D | vmci_transport.c | 834 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach() 839 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach() 1263 pending->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_server() 1369 sk->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_client() 1809 sk->sk_state = TCP_CLOSE; in vmci_transport_connect() 1818 sk->sk_state = TCP_CLOSE; in vmci_transport_connect()
|
H A D | af_vsock.c | 81 * TCP_CLOSE - unconnected 616 sk->sk_state = TCP_CLOSE; in vsock_pending_work() 1148 if (sk->sk_state == TCP_CLOSE || sk->sk_state == TCP_CLOSING) { in vsock_read_skb() 1409 sk->sk_state = TCP_CLOSE; in vsock_connect() 1546 sk->sk_state = sk->sk_state == TCP_ESTABLISHED ? TCP_CLOSING : TCP_CLOSE; in vsock_connect() 1553 sk->sk_state = TCP_CLOSE; in vsock_connect() 1564 sk->sk_state = TCP_CLOSE; in vsock_accept()
|
/linux/net/phonet/ |
H A D | socket.c | 179 if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { in pn_socket_bind() 238 if (sk->sk_state != TCP_CLOSE) { in pn_socket_connect() 338 if (sk->sk_state == TCP_CLOSE) in pn_socket_poll()
|
/linux/net/ax25/ |
H A D | ax25_std_timer.c | 109 ax25->sk->sk_state = TCP_CLOSE; in ax25_std_idletimer_expiry()
|
H A D | ax25_ds_timer.c | 169 ax25->sk->sk_state = TCP_CLOSE; in ax25_ds_idletimer_expiry()
|
H A D | ax25_subr.c | 286 ax25->sk->sk_state = TCP_CLOSE; in ax25_disconnect()
|
/linux/include/net/sctp/ |
H A D | constants.h | 197 SCTP_SS_CLOSED = TCP_CLOSE,
|
/linux/net/rds/ |
H A D | tcp_connect.c | 79 case TCP_CLOSE: in rds_tcp_state_change()
|
/linux/net/unix/ |
H A D | af_unix.c | 160 case TCP_CLOSE: in unix_state_lock_cmp_fn() 173 case TCP_CLOSE: in unix_state_lock_cmp_fn() 688 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_release_sock() 793 if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) in unix_listen() 1484 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_connect() 1494 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect() 1627 if (unlikely(state != TCP_CLOSE)) { in unix_stream_connect() 1634 if (unlikely(sk->sk_state != TCP_CLOSE)) { in unix_stream_connect() 2097 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_sendmsg() 3242 state == TCP_CLOSE) in unix_poll() [all …]
|
/linux/include/linux/ |
H A D | dccp.h | 46 DCCP_CLOSED = TCP_CLOSE,
|
/linux/net/rose/ |
H A D | rose_timer.c | 202 sk->sk_state = TCP_CLOSE; in rose_idletimer_expiry()
|
/linux/net/netrom/ |
H A D | nr_subr.c | 272 sk->sk_state = TCP_CLOSE; in nr_disconnect()
|
H A D | nr_timer.c | 195 sk->sk_state = TCP_CLOSE; in nr_idletimer_expiry()
|