X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FIPStack%2Ftcp.h;h=42682ac72cb38ff78e9c9a2ac976b82893edc40a;hb=4ddb4999e2ec2de02a40085ad75f43c92a220f21;hp=2247b90110f2ec8fcbf96bda96c3e1c616a9aabe;hpb=7ba570fe3cc5418f42decf5b72ac2295cce9e60f;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;