X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Ficmp.h;h=8e787224339cc7f8c68461bce033e0ad130b61c2;hb=6758b30009918a68d664fc7e6863d936d5120657;hp=73a641fb05c085c8462dac60f486a1d680f587c2;hpb=6c5a509b5e14e097ca537c539bc9babe3b8f0c4c;p=tpg%2Facess2.git diff --git a/Modules/IPStack/icmp.h b/Modules/IPStack/icmp.h index 73a641fb..8e787224 100644 --- a/Modules/IPStack/icmp.h +++ b/Modules/IPStack/icmp.h @@ -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