be2ff64e150c6bb0b2c16680f42f214fb3d36cda
[tpg/acess2.git] / Modules / IPStack / udp.h
1 /*
2  * Acess2 IP Stack
3  * - UDP Definitions
4  */
5 #ifndef _UDP_H_
6 #define _UDP_H_
7
8 #include "ipstack.h"
9 #include "ipv4.h"
10
11 typedef struct sUDPHeader       tUDPHeader;
12
13 struct sUDPHeader
14 {
15         Uint16  SourcePort;
16         Uint16  DestPort;
17         Uint16  Length;
18         Uint16  Checksum;
19         Uint8   Data[];
20 };
21
22 #endif

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