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
Fixed MM_UnmapHWPages overwriting the wrong area
[tpg/acess2.git]
/
Modules
/
IPStack
/
ipv6.h
diff --git
a/Modules/IPStack/ipv6.h
b/Modules/IPStack/ipv6.h
index
a98561d
..
c2810a3
100644
(file)
--- a/
Modules/IPStack/ipv6.h
+++ b/
Modules/IPStack/ipv6.h
@@
-11,11
+11,18
@@
typedef struct sIPv6Header tIPv6Header;
struct sIPv6Header
{
struct sIPv6Header
{
+ #if 1
+ // High 4: Version
+ // Next: Traffic Class
+ // Low 20: Flow Label
+ Uint32 Head;
+ #else
struct {
unsigned Version: 4;
unsigned TrafficClass: 8;
unsigned FlowLabel: 20;
};
struct {
unsigned Version: 4;
unsigned TrafficClass: 8;
unsigned FlowLabel: 20;
};
+ #endif
Uint16 PayloadLength;
Uint8 NextHeader; // Type of payload data
Uint8 HopLimit;
Uint16 PayloadLength;
Uint8 NextHeader; // Type of payload data
Uint8 HopLimit;
UCC
git Repository :: git.ucc.asn.au