Home
last modified time | relevance | path

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

123

/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.c421 sk->sk_state == TCP_CLOSE) in mptcp_close_wake_up()
466 mptcp_set_state(sk, TCP_CLOSE); in mptcp_check_data_fin_ack()
634 mptcp_set_state(sk, TCP_CLOSE); in mptcp_check_data_fin()
666 if (unlikely(sk->sk_state == TCP_CLOSE)) { in __mptcp_add_backlog()
839 if (ssk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DEAD)) in __mptcp_subflow_error_report()
987 if (unlikely(inet_sk_state_load(sk) == TCP_CLOSE)) in mptcp_reset_rtx_timer()
996 if (inet_sk_state_load(sk) == TCP_CLOSE) in mptcp_schedule_work()
2283 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in mptcp_inq_hint()
2355 if (sk->sk_state == TCP_CLOSE) { in mptcp_recvmsg()
2582 if (subflow->send_fastclose && ssk->sk_state != TCP_CLOSE) in __mptcp_close_ssk()
[all …]
H A Dsubflow.c438 if (ssk->sk_state == TCP_CLOSE) in mptcp_subflow_reset()
1077 if (unlikely(ssk->sk_state == TCP_CLOSE)) in validate_data_csum()
1285 return sk->sk_shutdown & RCV_SHUTDOWN || sk->sk_state == TCP_CLOSE; in subflow_is_done()
1294 if (likely(ssk->sk_state != TCP_CLOSE && in subflow_sched_work_if_closed()
1430 tcp_set_state(ssk, TCP_CLOSE); in subflow_check_data_avail()
/linux/net/ipv4/
H A Dtcp.c585 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll()
856 if (sk->sk_state == TCP_CLOSE) { in tcp_splice_read()
1083 tcp_set_state(sk, TCP_CLOSE); in tcp_sendmsg_fastopen()
1491 if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) in tcp_recv_urg()
1514 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in tcp_recv_urg()
2774 if (sk->sk_state == TCP_CLOSE) { in tcp_recvmsg_locked()
2981 BUILD_BUG_ON((int)BPF_TCP_CLOSE != (int)TCP_CLOSE); in tcp_set_state()
3014 case TCP_CLOSE: in tcp_set_state()
3044 [0 /* (Invalid) */] = TCP_CLOSE,
3046 [TCP_SYN_SENT] = TCP_CLOSE,
[all …]
H A Daf_inet.c149 if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) { in inet_sock_destruct()
533 if (sk->sk_state != TCP_CLOSE || inet->inet_num) in __inet_bind()
675 if (sk->sk_state != TCP_CLOSE) in __inet_stream_connect()
726 if (sk->sk_state == TCP_CLOSE) in __inet_stream_connect()
925 case TCP_CLOSE: in inet_shutdown()
H A Dinet_hashtables.c755 inet_sk_set_state(sk, TCP_CLOSE); in inet_ehash_nolisten()
791 if (sk->sk_state == TCP_CLOSE) in inet_hash()
/linux/net/x25/
H A Daf_x25.c652 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()
H A Dx25_subr.c353 sk->sk_state = TCP_CLOSE; in x25_disconnect()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c44 /* (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()
1511 if (sk->sk_state == TCP_CLOSE) in DECLARE_TASK_FUNC()
[all …]
/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/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/net/llc/
H A Daf_llc.c516 sk->sk_state = TCP_CLOSE; in llc_ui_connect()
533 if (sk->sk_state == TCP_CLOSE) in llc_ui_connect()
591 READ_ONCE(sk->sk_state) == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc()
821 sk->sk_state == TCP_CLOSE || in llc_ui_recvmsg()
837 if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSE) { in llc_ui_recvmsg()
H A Dllc_conn.c107 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 Dvmci_transport.c842 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach()
847 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach()
1271 pending->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_server()
1377 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.c644 sk->sk_state = TCP_CLOSE; in vsock_assign_transport()
781 sk->sk_state = TCP_CLOSE; in vsock_pending_work()
1353 if (sk->sk_state == TCP_CLOSE || sk->sk_state == TCP_CLOSING) { in vsock_poll()
1639 sk->sk_state = TCP_CLOSE; in vsock_connect_timeout()
1809 sk->sk_state = TCP_CLOSE; in vsock_connect()
1825 sk->sk_state = TCP_CLOSE; in vsock_connect()
/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()
/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/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()
1578 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_connect()
1588 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect()
1718 if (unlikely(state != TCP_CLOSE)) { in unix_stream_connect()
1725 if (unlikely(sk->sk_state != TCP_CLOSE)) { in unix_stream_connect()
2217 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_sendmsg()
3396 state == TCP_CLOSE) in unix_poll()
[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()

123