git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SpiderScript - Commenting changes
[tpg/acess2.git]
/
Modules
/
IPStack
/
udp.h
diff --git
a/Modules/IPStack/udp.h
b/Modules/IPStack/udp.h
index
36c36e1
..
657bce5
100644
(file)
--- a/
Modules/IPStack/udp.h
+++ b/
Modules/IPStack/udp.h
@@
-9,6
+9,7
@@
#include "ipv4.h"
typedef struct sUDPHeader tUDPHeader;
#include "ipv4.h"
typedef struct sUDPHeader tUDPHeader;
+typedef struct sUDPServer tUDPServer;
typedef struct sUDPPacket tUDPPacket;
typedef struct sUDPChannel tUDPChannel;
typedef struct sUDPPacket tUDPPacket;
typedef struct sUDPChannel tUDPChannel;
@@
-39,9
+40,24
@@
struct sUDPChannel
} RemoteAddr;
Uint16 RemotePort;
tVFS_Node Node;
} RemoteAddr;
Uint16 RemotePort;
tVFS_Node Node;
- tS
pinlock
lQueue;
+ tS
hortSpinlock
lQueue;
tUDPPacket * volatile Queue;
tUDPPacket *QueueEnd;
};
tUDPPacket * volatile Queue;
tUDPPacket *QueueEnd;
};
+struct sUDPServer
+{
+ struct sUDPServer *Next;
+
+ tVFS_Node Node;
+
+ tInterface *Interface;
+ Uint16 ListenPort;
+ int NextID;
+ int NumChannels;
+ tUDPChannel *Channels;
+ tMutex Lock;
+ tUDPChannel * volatile NewChannels;
+};
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au