From afc2b4d4766b0e4ee8519ac6fcd98353d3864322 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 4 Jul 2024 20:09:51 +0200 Subject: TCP: Allow delay for sends This is not at all optimal for applications that already buffer their data but can have a huge impact on those that don't. Applications that don't wish to use this should disable this for their socket. --- kernel/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/socket.h') diff --git a/kernel/socket.h b/kernel/socket.h index e0cf92f..5ea71f5 100644 --- a/kernel/socket.h +++ b/kernel/socket.h @@ -144,4 +144,5 @@ int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t option_len); void tcp_remove_connection(struct TcpConnection *con); void tcp_flush_acks(void); +void tcp_flush_buffers(void); #endif -- cgit v1.2.3