ICMP header: /// / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / TYPEDEF STRUCTY : // Packet type BYTE ICE ICMPCODE; File: // Packet Type Further Information Ushort ICMPCHECKSUM; Union File: / / Different data {struct {UNSIGNED Char UC1, UC2, UC3, UC4;} SUC; struct {unsigned short us1, us2;} sUS; unsigned long sUL;} sICMP; unsigned long ICMP_Originate_Timestamp; file: // not a standard head, Oh, but good enough unsigned long ICMP_Receive_Timestamp; unsigned long ICMP_Transmit_Timestamp;} ICMPHeader;
/ * This head is my synthesis, and it should be more close to the standard head structure. * /