Home
last modified time | relevance | path

Searched refs:TCP_CLOSE (Results 1 – 25 of 32) sorted by relevance

12

/linux/include/net/
H A Dtcp_states.h19 TCP_CLOSE, enumerator
32 #define TCP_ACTION_FIN (1 << TCP_CLOSE)
41 TCPF_CLOSE = (1 << TCP_CLOSE),
H A Dinet6_hashtables.h125 if (sk->sk_state != TCP_CLOSE) in inet6_steal_sock()
H A Ddropreason-core.h52 FN(TCP_CLOSE) \
H A Dinet_hashtables.h465 if (sk->sk_state != TCP_CLOSE) in inet_steal_sock()
/linux/net/mptcp/
H A Dprotocol.c435 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 Dmptcp-sysctl.rst64 会转为TCP_CLOSE状态。
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_closed.pkt4 // verify that a send in state TCP_CLOSE correctly aborts the zerocopy
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Drepair.c32 TCP_CLOSE, enumerator
101 if (state->info.tcpi_state == TCP_CLOSE) in __test_sock_checkpoint()
/linux/net/x25/
H A Daf_x25.c648 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 Dx25_subr.c353 sk->sk_state = TCP_CLOSE; in x25_disconnect()
/linux/net/phonet/
H A Dsocket.c179 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 Dpep.c766 sk->sk_state = TCP_CLOSE; in pep_sock_close()
1061 if ((sk->sk_state == TCP_CLOSE) && in pep_setsockopt()
/linux/net/rds/
H A Dtcp_connect.c85 case TCP_CLOSE: in rds_tcp_state_change()
275 sk->sk_state == TCP_CLOSE) &&
H A Dtcp_listen.c315 READ_ONCE(sk->sk_state) == TCP_CLOSE) in rds_tcp_accept_one()
/linux/net/vmw_vsock/
H A Dvmci_transport.c842 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 Daf_vsock.c81 * 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 Dvirtio_transport.c420 sk->sk_state = TCP_CLOSE; in virtio_vsock_reset_sock()
/linux/net/unix/
H A Daf_unix.c154 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 Dsock.h32 EM(TCP_CLOSE) \
/linux/tools/testing/vsock/
H A Dvsock_diag_test.c52 case TCP_CLOSE: in sock_state_str()
/linux/net/ipv4/
H A Dtcp_diag.c425 if (sk->sk_state != TCP_CLOSE || in tcp_diag_dump()
H A Dtcp_bpf.c297 if (sk->sk_state == TCP_CLOSE) { in tcp_bpf_recvmsg_parser()
/linux/net/core/
H A Ddatagram.c967 if (state == TCP_CLOSE) in datagram_poll_queue()
/linux/drivers/target/iscsi/
H A Discsi_target_nego.c475 if (sk->sk_state == TCP_CLOSE_WAIT || sk->sk_state == TCP_CLOSE) { in __iscsi_target_sk_check_close()
/linux/net/qrtr/
H A Daf_qrtr.c1097 sk->sk_state = TCP_CLOSE; in qrtr_connect()

12