Kernel: Rework TCP window size reporting

We now report actually available window size when sending packets. If
the available window size grows significantly we send an ACK to reflect
this to the remote.
This commit is contained in:
2026-02-23 19:42:29 +02:00
parent 1ac20251cf
commit 666a7bb826
2 changed files with 34 additions and 18 deletions

View File

@@ -167,6 +167,8 @@ namespace Kernel
State m_next_state { State::Closed };
uint8_t m_next_flags { 0 };
size_t m_last_sent_window_size { 0 };
Thread* m_thread { nullptr };
// TODO: actually support these