Home
last modified time | relevance | path

Searched refs:TCP_CLOSE (Results 1 – 25 of 74) 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.h126 if (sk->sk_state != TCP_CLOSE) in inet6_steal_sock()
H A Ddropreason-core.h44 FN(TCP_CLOSE) \
/linux/net/mptcp/
H A Dprotocol.c409 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 Dtcp.c560 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 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()
/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()
1509 if (sk->sk_state == TCP_CLOSE) in DECLARE_TASK_FUNC()
[all …]
H A Dchtls_io.c1391 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 Drepair.c32 TCP_CLOSE, enumerator
101 if (state->info.tcpi_state == TCP_CLOSE) in __test_sock_checkpoint()
/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()
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 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.c834 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 Daf_vsock.c81 * 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 Dsocket.c179 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 Dax25_std_timer.c109 ax25->sk->sk_state = TCP_CLOSE; in ax25_std_idletimer_expiry()
H A Dax25_ds_timer.c169 ax25->sk->sk_state = TCP_CLOSE; in ax25_ds_idletimer_expiry()
H A Dax25_subr.c286 ax25->sk->sk_state = TCP_CLOSE; in ax25_disconnect()
/linux/include/net/sctp/
H A Dconstants.h197 SCTP_SS_CLOSED = TCP_CLOSE,
/linux/net/rds/
H A Dtcp_connect.c79 case TCP_CLOSE: in rds_tcp_state_change()
/linux/net/unix/
H A Daf_unix.c160 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 Ddccp.h46 DCCP_CLOSED = TCP_CLOSE,
/linux/net/rose/
H A Drose_timer.c202 sk->sk_state = TCP_CLOSE; in rose_idletimer_expiry()
/linux/net/netrom/
H A Dnr_subr.c272 sk->sk_state = TCP_CLOSE; in nr_disconnect()
H A Dnr_timer.c195 sk->sk_state = TCP_CLOSE; in nr_idletimer_expiry()

123