Modules/FAT - Fixed edge cases in read
[tpg/acess2.git] / Modules / IPStack / icmp.h
index 73a641f..8e78722 100644 (file)
@@ -16,6 +16,19 @@ struct sICMPHeader
        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

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