Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/include/net/
Dtcp_states.h19 TCP_CLOSE, enumerator
31 #define TCP_ACTION_FIN (1 << TCP_CLOSE)
40 TCPF_CLOSE = (1 << TCP_CLOSE),
/kernel/linux/linux-5.10/net/ipv4/
Dtcp.c550 if (sk->sk_shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll()
817 if (sk->sk_state == TCP_CLOSE) { in tcp_splice_read()
850 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in tcp_splice_read()
1170 tcp_set_state(sk, TCP_CLOSE); in tcp_sendmsg_fastopen()
1468 if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) in tcp_recv_urg()
1491 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in tcp_recv_urg()
2198 sk->sk_state == TCP_CLOSE || in tcp_recvmsg()
2215 if (sk->sk_state == TCP_CLOSE) { in tcp_recvmsg()
2372 BUILD_BUG_ON((int)BPF_TCP_CLOSE != (int)TCP_CLOSE); in tcp_set_state()
2389 case TCP_CLOSE: in tcp_set_state()
[all …]
Dtcp_dctcp.c81 sk->sk_state == TCP_CLOSE)) { in dctcp_init()
Daf_inet.c144 if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) { in inet_sock_destruct()
518 if (sk->sk_state != TCP_CLOSE || inet->inet_num) in __inet_bind()
657 if (sk->sk_state != TCP_CLOSE) in __inet_stream_connect()
702 if (sk->sk_state == TCP_CLOSE) in __inet_stream_connect()
890 case TCP_CLOSE: in inet_shutdown()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c350 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_check_data_fin_ack()
356 sk->sk_state == TCP_CLOSE) in mptcp_check_data_fin_ack()
432 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_check_data_fin()
453 sk->sk_state == TCP_CLOSE) in mptcp_check_data_fin()
1481 if (((struct sock *)msk)->sk_state == TCP_CLOSE) in __mptcp_move_skbs()
1545 sk->sk_state == TCP_CLOSE || in mptcp_recvmsg()
1562 if (sk->sk_state == TCP_CLOSE) { in mptcp_recvmsg()
1741 if (inet_sk_state_load(ssk) != TCP_CLOSE) in __mptcp_close_subflow()
1930 [0 /* (Invalid) */] = TCP_CLOSE,
1932 [TCP_SYN_SENT] = TCP_CLOSE,
[all …]
Dsubflow.c279 tcp_set_state(ssk, TCP_CLOSE); in mptcp_subflow_reset()
449 sk->sk_state = TCP_CLOSE; in mptcp_sock_destruct()
460 inet_sk_state_store(sk, TCP_CLOSE); in mptcp_force_close()
935 tcp_set_state(ssk, TCP_CLOSE); in subflow_check_data_avail()
1235 return sk->sk_shutdown & RCV_SHUTDOWN || sk->sk_state == TCP_CLOSE; in subflow_is_done()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/x25/
Daf_x25.c656 sk->sk_state = TCP_CLOSE; in x25_release()
761 if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { in x25_connect()
774 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()
/kernel/linux/linux-5.10/net/decnet/
Ddn_nsp_in.c416 sk->sk_state = TCP_CLOSE; in dn_nsp_disc_init()
469 sk->sk_state = TCP_CLOSE; in dn_nsp_disc_conf()
674 sk->sk_state = TCP_CLOSE; in dn_returned_conn_init()
/kernel/linux/linux-5.10/net/llc/
Daf_llc.c513 sk->sk_state = TCP_CLOSE; in llc_ui_connect()
528 if (sk->sk_state == TCP_CLOSE) in llc_ui_connect()
585 if (sk_wait_event(sk, &timeout, sk->sk_state == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc()
815 sk->sk_state == TCP_CLOSE || in llc_ui_recvmsg()
831 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/vmw_vsock/
Dvmci_transport.c832 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach()
837 sk->sk_state = TCP_CLOSE; in vmci_transport_handle_detach()
1262 pending->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_server()
1368 sk->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_client()
1807 sk->sk_state = TCP_CLOSE; in vmci_transport_connect()
1816 sk->sk_state = TCP_CLOSE; in vmci_transport_connect()
Daf_vsock.c576 sk->sk_state = TCP_CLOSE; in vsock_pending_work()
1063 if (sk->sk_state == TCP_CLOSE || sk->sk_state == TCP_CLOSING) { in vsock_poll()
1239 sk->sk_state = TCP_CLOSE; in vsock_connect_timeout()
1364 sk->sk_state = sk->sk_state == TCP_ESTABLISHED ? TCP_CLOSING : TCP_CLOSE; in vsock_stream_connect()
1370 sk->sk_state = TCP_CLOSE; in vsock_stream_connect()
1381 sk->sk_state = TCP_CLOSE; in vsock_stream_connect()
/kernel/linux/linux-5.10/include/net/sctp/
Dconstants.h196 SCTP_SS_CLOSED = TCP_CLOSE,
/kernel/linux/linux-5.10/net/rds/
Dtcp_connect.c79 case TCP_CLOSE: in rds_tcp_state_change()
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/
Dtcp.h50 #define TCP_CLOSE 7 macro
/kernel/linux/linux-5.10/net/rose/
Drose_timer.c202 sk->sk_state = TCP_CLOSE; in rose_idletimer_expiry()
/kernel/linux/linux-5.10/net/netrom/
Dnr_subr.c270 sk->sk_state = TCP_CLOSE; in nr_disconnect()
Dnr_timer.c193 sk->sk_state = TCP_CLOSE; in nr_idletimer_expiry()
/kernel/linux/linux-5.10/include/linux/
Ddccp.h46 DCCP_CLOSED = TCP_CLOSE,
/kernel/linux/linux-5.10/include/trace/events/
Dsock.h32 EM(TCP_CLOSE) \

123