|
|
1.1 ! root 1: /* icmp.h */ ! 2: ! 3: /* Internet Control Message Protocol Constants and Packet Format */ ! 4: ! 5: #define ICRPECH 0 /* Echo reply */ ! 6: #define ICDESTU 3 /* Destination unreachable */ ! 7: #define ICSRCQN 4 /* Source quench */ ! 8: #define ICREDIR 5 /* Redirect message type */ ! 9: #define ICRQECH 8 /* Echo request */ ! 10: #define ICTIMEX 11 /* Time exceeded */ ! 11: #define ICPARMP 12 /* Parameter Problem */ ! 12: #define ICTIMST 13 /* Timestamp message */ ! 13: #define ICTIMRP 14 /* Timestamp reply */ ! 14: #define ICRQINF 15 /* Information request */ ! 15: #define ICRPINF 16 /* Information reply */ ! 16: ! 17: /* ICMP packet format (part of the packet that follows the IP header) */ ! 18: ! 19: struct icmp { /* ICMP packet */ ! 20: char ic_typ; /* type of message (see above) */ ! 21: char ic_code; /* code (often zero) */ ! 22: short ic_cksum; /* checksum of icmp header+data */ ! 23: short ic_id; /* for echo type, a message id */ ! 24: short ic_seq; /* for echo type, a seq. number */ ! 25: char ic_data[1]; /* data area of ICMP message */ ! 26: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.