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
Kernel/x86 - Oops, bad entry
[tpg/acess2.git]
/
Modules
/
IPStack
/
icmp.h
diff --git
a/Modules/IPStack/icmp.h
b/Modules/IPStack/icmp.h
index
73a641f
..
8e78722
100644
(file)
--- a/
Modules/IPStack/icmp.h
+++ b/
Modules/IPStack/icmp.h
@@
-16,6
+16,19
@@
struct sICMPHeader
Uint16 Checksum;
Uint16 ID;
Uint16 Sequence;
Uint16 Checksum;
Uint16 ID;
Uint16 Sequence;
+ Uint8 Data[];
+};
+
+// === CONSTANTS ===
+enum eICMPTypes
+{
+ ICMP_ECHOREPLY = 0,
+ ICMP_UNREACHABLE = 3,
+ ICMP_QUENCH = 4,
+ ICMP_REDIRECT = 5,
+ ICMP_ALTADDR = 6,
+ ICMP_ECHOREQ = 8,
+ ICMP_TRACE = 30 // Information Request
};
#endif
};
#endif
UCC
git Repository :: git.ucc.asn.au