Bitmap filling done
[tpg/acess2.git] / Modules / IPStack / udp.h
index 36c36e1..2cc743a 100644 (file)
@@ -9,6 +9,7 @@
 #include "ipv4.h"
 
 typedef struct sUDPHeader      tUDPHeader;
+typedef struct sUDPServer      tUDPServer;
 typedef struct sUDPPacket      tUDPPacket;
 typedef struct sUDPChannel     tUDPChannel;
 
@@ -44,4 +45,19 @@ struct sUDPChannel
        tUDPPacket      *QueueEnd;
 };
 
+struct sUDPServer
+{
+       struct sUDPServer       *Next;
+       
+       tVFS_Node       Node;
+       
+       tInterface      *Interface;
+       Uint16  ListenPort;
+        int    NextID;
+        int    NumChannels;
+       tUDPChannel     *Channels;
+       tSpinlock       Lock;
+       tUDPChannel     * volatile NewChannels;
+};
+
 #endif

UCC git Repository :: git.ucc.asn.au