X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FIPStack%2Ftcp.h;h=42682ac72cb38ff78e9c9a2ac976b82893edc40a;hb=083c31409b9f25c96807ab8fef8ac79e8fe4cf9e;hp=2247b90110f2ec8fcbf96bda96c3e1c616a9aabe;hpb=29707ccdcce3383cc8ae264b644643714418b03f;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/IPStack/tcp.h b/KernelLand/Modules/IPStack/tcp.h index 2247b901..42682ac7 100644 --- a/KernelLand/Modules/IPStack/tcp.h +++ b/KernelLand/Modules/IPStack/tcp.h @@ -8,6 +8,7 @@ #include "ipstack.h" #include // tRingBuffer #include // tTimer +#include // tSemaphore typedef struct sTCPHeader tTCPHeader; typedef struct sTCPListener tTCPListener; @@ -69,6 +70,7 @@ struct sTCPListener tInterface *Interface; //!< Listening Interface tVFS_Node Node; //!< Server Directory node int NextID; //!< Name of the next connection + tSemaphore WaitingConnections; tShortSpinlock lConnections; //!< Spinlock for connections tTCPConnection *Connections; //!< Connections (linked list) tTCPConnection *volatile NewConnections;