The real ICMP codes
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
// // The real ICMP codes // enum ICMPType { ICMP_DESTINATION_UNREACHABLE = 3; ICMP_SOURCEQUENCH = 4; // packet lost, slow down ICMP_REDIRECT = 5; ICMP_ECHO_REQUEST = 8; ICMP_ROUTER_ADVERTISEMENT = 9; // router advertisement ICMP_ROUTER_SOLICITATION = 10; // router solicitation ICMP_TIME_EXCEEDED = 11; ICMP_PARAMETER_PROBLEM = 12; ICMP_ECHO_REPLY = 0; ICMP_TIMESTAMP_REQUEST = 13; ICMP_TIMESTAMP_REPLY = 14; ICMP_INFORMATION_REQUEST = 15; // information request ICMP_INFORMATION_REPLY = 16; // information reply ICMP_MASK_REQUEST = 17; // address mask request ICMP_MASK_REPLY = 18; // address mask reply }