Home
last modified time | relevance | path

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

123

/linux-6.1.9/include/net/ !
Dtcp_states.h19 TCP_CLOSE, enumerator
31 #define TCP_ACTION_FIN (1 << TCP_CLOSE)
40 TCPF_CLOSE = (1 << TCP_CLOSE),
Ddropreason.h36 FN(TCP_CLOSE) \
/linux-6.1.9/net/mptcp/ !
Dprotocol.c413 sk->sk_state == TCP_CLOSE) in mptcp_close_wake_up()
443 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_check_data_fin_ack()
613 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_check_data_fin()
869 if (unlikely(inet_sk_state_load(sk) == TCP_CLOSE)) in mptcp_reset_timer()
878 if (inet_sk_state_load(sk) != TCP_CLOSE && in mptcp_schedule_work()
924 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_check_for_eof()
2071 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in mptcp_inq_hint()
2130 sk->sk_state == TCP_CLOSE || in mptcp_recvmsg()
2153 if (sk->sk_state == TCP_CLOSE) { in mptcp_recvmsg()
2373 tcp_set_state(ssk, TCP_CLOSE); in __mptcp_close_ssk()
[all …]
Dsubflow.c361 tcp_set_state(ssk, TCP_CLOSE); in mptcp_subflow_reset()
635 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_force_close()
947 if (unlikely(ssk->sk_state == TCP_CLOSE)) in validate_data_csum()
1148 if (likely(ssk->sk_state != TCP_CLOSE)) in subflow_sched_work_if_closed()
1283 tcp_set_state(ssk, TCP_CLOSE); in subflow_check_data_avail()
1700 return sk->sk_shutdown & RCV_SHUTDOWN || sk->sk_state == TCP_CLOSE; in subflow_is_done()
/linux-6.1.9/net/ipv4/ !
Dtcp.c543 if (sk->sk_shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll()
810 if (sk->sk_state == TCP_CLOSE) { in tcp_splice_read()
843 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in tcp_splice_read()
1195 tcp_set_state(sk, TCP_CLOSE); in tcp_sendmsg_fastopen()
1505 if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) in tcp_recv_urg()
1528 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in tcp_recv_urg()
2525 sk->sk_state == TCP_CLOSE || in tcp_recvmsg_locked()
2541 if (sk->sk_state == TCP_CLOSE) { in tcp_recvmsg_locked()
2714 BUILD_BUG_ON((int)BPF_TCP_CLOSE != (int)TCP_CLOSE); in tcp_set_state()
2742 case TCP_CLOSE: in tcp_set_state()
[all …]
Dtcp_dctcp.c83 sk->sk_state == TCP_CLOSE)) { in dctcp_init()
Daf_inet.c141 if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) { in inet_sock_destruct()
515 if (sk->sk_state != TCP_CLOSE || inet->inet_num) in __inet_bind()
656 if (sk->sk_state != TCP_CLOSE) in __inet_stream_connect()
701 if (sk->sk_state == TCP_CLOSE) in __inet_stream_connect()
893 case TCP_CLOSE: in inet_shutdown()
/linux-6.1.9/net/x25/ !
Daf_x25.c646 sk->sk_state = TCP_CLOSE; in x25_release()
723 if (sk->sk_state == TCP_CLOSE) { in x25_wait_for_connection_establishment()
756 if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { in x25_connect()
769 sk->sk_state = TCP_CLOSE; in x25_connect()
1450 sk->sk_state != TCP_CLOSE) in x25_ioctl()
1503 sk->sk_state != TCP_CLOSE) in x25_ioctl()
1566 if(sk->sk_state != TCP_CLOSE) in x25_ioctl()
1585 if (sk->sk_state == TCP_CLOSE) { in x25_ioctl()
Dx25_subr.c352 sk->sk_state = TCP_CLOSE; in x25_disconnect()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ !
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 …]
Dchtls_io.c1477 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_pt_recvmsg()
1493 if (sk->sk_state == TCP_CLOSE) { in chtls_pt_recvmsg()
1660 if (sk->sk_state == TCP_CLOSE) { in peekmsg()
1803 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_recvmsg()
1816 if (sk->sk_state == TCP_CLOSE) { in chtls_recvmsg()
/linux-6.1.9/net/llc/ !
Daf_llc.c514 sk->sk_state = TCP_CLOSE; in llc_ui_connect()
529 if (sk->sk_state == TCP_CLOSE) in llc_ui_connect()
586 if (sk_wait_event(sk, &timeout, sk->sk_state == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc()
816 sk->sk_state == TCP_CLOSE || in llc_ui_recvmsg()
832 if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSE) { in llc_ui_recvmsg()
Dllc_conn.c106 sk->sk_state = TCP_CLOSE; in llc_conn_state_process()
141 sk->sk_state = TCP_CLOSE; in llc_conn_state_process()
153 sk->sk_state = TCP_CLOSE; in llc_conn_state_process()
/linux-6.1.9/net/ax25/ !
Dax25_std_timer.c109 ax25->sk->sk_state = TCP_CLOSE; in ax25_std_idletimer_expiry()
Dax25_ds_timer.c169 ax25->sk->sk_state = TCP_CLOSE; in ax25_ds_idletimer_expiry()
Dax25_subr.c286 ax25->sk->sk_state = TCP_CLOSE; in ax25_disconnect()
/linux-6.1.9/net/phonet/ !
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()
339 if (sk->sk_state == TCP_CLOSE) in pn_socket_poll()
/linux-6.1.9/net/vmw_vsock/ !
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()
Daf_vsock.c608 sk->sk_state = TCP_CLOSE; in vsock_pending_work()
1123 if (sk->sk_state == TCP_CLOSE || sk->sk_state == TCP_CLOSING) { in vsock_poll()
1299 sk->sk_state = TCP_CLOSE; in vsock_connect_timeout()
1425 sk->sk_state = sk->sk_state == TCP_ESTABLISHED ? TCP_CLOSING : TCP_CLOSE; in vsock_connect()
1432 sk->sk_state = TCP_CLOSE; in vsock_connect()
1443 sk->sk_state = TCP_CLOSE; in vsock_connect()
/linux-6.1.9/include/net/sctp/ !
Dconstants.h197 SCTP_SS_CLOSED = TCP_CLOSE,
/linux-6.1.9/net/rds/ !
Dtcp_connect.c79 case TCP_CLOSE: in rds_tcp_state_change()
/linux-6.1.9/net/netrom/ !
Dnr_subr.c270 sk->sk_state = TCP_CLOSE; in nr_disconnect()
Dnr_timer.c194 sk->sk_state = TCP_CLOSE; in nr_idletimer_expiry()
/linux-6.1.9/net/rose/ !
Drose_timer.c202 sk->sk_state = TCP_CLOSE; in rose_idletimer_expiry()
/linux-6.1.9/include/linux/ !
Ddccp.h46 DCCP_CLOSED = TCP_CLOSE,

123