diff options
author | Anton Kling <anton@kling.gg> | 2024-06-11 13:33:01 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-06-11 15:18:40 +0200 |
commit | abf9cf5bec2712465400417cc8232fee2d1cce28 (patch) | |
tree | 3e43f9cc8e194aa20de6e2e5a1916a10ced69f44 /kernel/socket.h | |
parent | b118759096ef08bfcc003933059de46a7a964ad7 (diff) |
TCP stuff
Diffstat (limited to 'kernel/socket.h')
-rw-r--r-- | kernel/socket.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/socket.h b/kernel/socket.h index ef5863d..f41e9a1 100644 --- a/kernel/socket.h +++ b/kernel/socket.h @@ -5,6 +5,7 @@ typedef int socklen_t; #include <fs/fifo.h> #include <fs/vfs.h> #include <lib/buffered_write.h> +#include <lib/relist.h> #include <lib/ringbuffer.h> #include <lib/stack.h> #include <stddef.h> @@ -51,9 +52,14 @@ struct TcpConnection { struct ringbuffer incoming_buffer; struct ringbuffer outgoing_buffer; + struct relist inflight; + int no_delay; + u32 current_window_size; + u32 window_size; u32 seq; + u32 seq_ack; u32 ack; int handshake_state; |