summaryrefslogtreecommitdiff
path: root/kernel/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/socket.h')
-rw-r--r--kernel/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/socket.h b/kernel/socket.h
index 550b62b..ad505b8 100644
--- a/kernel/socket.h
+++ b/kernel/socket.h
@@ -3,6 +3,7 @@
#include <fs/fifo.h>
#include <fs/vfs.h>
#include <lib/buffered_write.h>
+#include <lib/ringbuffer.h>
#include <lib/stack.h>
#include <stddef.h>
#include <typedefs.h>
@@ -40,8 +41,7 @@ struct TcpConnection {
u16 outgoing_port;
int unhandled_packet;
-
- FIFO_FILE *data_file;
+ struct ringbuffer buffer;
u32 seq;
u32 ack;