More work on IPStack (Also fixed Proc_SpawnWorker)
[tpg/acess2.git] / Modules / IPStack / ipv6.h
1 /*
2  * Acess2 IP Stack
3  * - IPv6 Definitions
4  */
5 #ifndef _IPV6_H_
6 #define _IPV6_H_
7
8 #include "ipstack.h"
9
10 typedef struct sIPv6Header      tIPv6Header;
11
12 struct sIPv6Header
13 {
14         struct {
15                 unsigned Version:       4;
16                 unsigned TrafficClass:  8;
17                 unsigned FlowLabel:     20;
18         };
19         Uint16  PayloadLength;
20         Uint8   NextHeader;     // Type of payload data
21         Uint8   HopLimit;
22         tIPv6   Source;
23         tIPv6   Destination;
24 };
25
26 #define IPV6_ETHERNET_ID        0x86DD
27
28 #endif

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