Enum ICMPType

File: src/inet/networklayer/ipv4/ICMPMessage.msg

The real ICMP codes

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Source code:

//
// 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
}