| /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 | 125 if (sk->sk_state != TCP_CLOSE) in inet6_steal_sock()
|
| H A D | dropreason-core.h | 52 FN(TCP_CLOSE) \
|
| H A D | inet_hashtables.h | 465 if (sk->sk_state != TCP_CLOSE) in inet_steal_sock()
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 435 sk->sk_state == TCP_CLOSE) in mptcp_close_wake_up() 480 mptcp_set_state(sk, TCP_CLOSE); in mptcp_check_data_fin_ack() 648 mptcp_set_state(sk, TCP_CLOSE); in mptcp_check_data_fin() 680 if (unlikely(sk->sk_state == TCP_CLOSE)) { in __mptcp_add_backlog() 853 if (ssk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DEAD)) in __mptcp_subflow_error_report() 1001 if (unlikely(inet_sk_state_load(sk) == TCP_CLOSE)) in mptcp_reset_rtx_timer() 1010 if (inet_sk_state_load(sk) == TCP_CLOSE) in mptcp_schedule_work() 2301 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in mptcp_inq_hint() 2373 if (sk->sk_state == TCP_CLOSE) { in mptcp_recvmsg() 2600 if (subflow->send_fastclose && ssk->sk_state != TCP_CLOSE) in __mptcp_close_ssk() [all …]
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | mptcp-sysctl.rst | 64 会转为TCP_CLOSE状态。
|
| /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/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/net/x25/ |
| H A D | af_x25.c | 648 sk->sk_state = TCP_CLOSE; in x25_release() 725 if (sk->sk_state == TCP_CLOSE) { in x25_wait_for_connection_establishment() 758 if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { in x25_connect() 771 sk->sk_state = TCP_CLOSE; in x25_connect() 1452 sk->sk_state != TCP_CLOSE) in x25_ioctl() 1505 sk->sk_state != TCP_CLOSE) in x25_ioctl() 1568 if(sk->sk_state != TCP_CLOSE) in x25_ioctl() 1587 if (sk->sk_state == TCP_CLOSE) { in x25_ioctl()
|
| H A D | x25_subr.c | 353 sk->sk_state = TCP_CLOSE; in x25_disconnect()
|
| /linux/net/phonet/ |
| H A D | socket.c | 179 if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { in pn_socket_bind() 244 if (sk->sk_state != TCP_CLOSE) { in pn_socket_connect() 344 if (sk->sk_state == TCP_CLOSE) in pn_socket_poll()
|
| H A D | pep.c | 766 sk->sk_state = TCP_CLOSE; in pep_sock_close() 1061 if ((sk->sk_state == TCP_CLOSE) && in pep_setsockopt()
|
| /linux/net/rds/ |
| H A D | tcp_connect.c | 85 case TCP_CLOSE: in rds_tcp_state_change() 275 sk->sk_state == TCP_CLOSE) &&
|
| H A D | tcp_listen.c | 315 READ_ONCE(sk->sk_state) == TCP_CLOSE) in rds_tcp_accept_one()
|
| /linux/net/vmw_vsock/ |
| H A D | vmci_transport.c | 842 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach() 847 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach() 1235 * connected list and move the socket to TCP_CLOSE before in vmci_transport_recv_connecting_server() 1269 pending->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_server() 1375 sk->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_client() 1821 sk->sk_state = TCP_CLOSE; in vmci_transport_connect() 1830 sk->sk_state = TCP_CLOSE; in vmci_transport_connect()
|
| H A D | af_vsock.c | 81 * TCP_CLOSE - unconnected 658 sk->sk_state = TCP_CLOSE; in vsock_assign_transport() 793 sk->sk_state = TCP_CLOSE; 1380 if (sk->sk_state == TCP_CLOSE || sk->sk_state == TCP_CLOSING) { in vsock_read_skb() 1666 sk->sk_state = TCP_CLOSE; in vsock_connect() 1836 sk->sk_state = TCP_CLOSE; in vsock_connect() 1852 sk->sk_state = TCP_CLOSE;
|
| H A D | virtio_transport.c | 420 sk->sk_state = TCP_CLOSE; in virtio_vsock_reset_sock()
|
| /linux/net/unix/ |
| H A D | af_unix.c | 154 case TCP_CLOSE: in unix_state_lock_cmp_fn() 167 case TCP_CLOSE: in unix_state_lock_cmp_fn() 684 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_release_sock() 826 if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) in unix_listen() 1576 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_connect() 1586 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect() 1716 if (unlikely(state != TCP_CLOSE)) { in unix_stream_connect() 1723 if (unlikely(sk->sk_state != TCP_CLOSE)) { in unix_stream_connect() 2198 * is clearing @other. Never change state to TCP_CLOSE in unix_dgram_sendmsg() 2212 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_sendmsg() [all...] |
| /linux/include/trace/events/ |
| H A D | sock.h | 32 EM(TCP_CLOSE) \
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_diag_test.c | 52 case TCP_CLOSE: in sock_state_str()
|
| /linux/net/ipv4/ |
| H A D | tcp_diag.c | 425 if (sk->sk_state != TCP_CLOSE || in tcp_diag_dump()
|
| H A D | tcp_bpf.c | 297 if (sk->sk_state == TCP_CLOSE) { in tcp_bpf_recvmsg_parser()
|
| /linux/net/core/ |
| H A D | datagram.c | 967 if (state == TCP_CLOSE) in datagram_poll_queue()
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_nego.c | 475 if (sk->sk_state == TCP_CLOSE_WAIT || sk->sk_state == TCP_CLOSE) { in __iscsi_target_sk_check_close()
|
| /linux/net/qrtr/ |
| H A D | af_qrtr.c | 1097 sk->sk_state = TCP_CLOSE; in qrtr_connect()
|