ICMP4_TYPE (Compact 2013)
3/26/2014
This enumeration defines the set of ICMP for IPv4 message types.
Syntax
typedef enum {
ICMP4_ECHO_REPLY = 0,
ICMP4_DST_UNREACH = 3,
ICMP4_SOURCE_QUENCH = 4,
ICMP4_REDIRECT = 5,
ICMP4_ECHO_REQUEST = 8,
ICMP4_ROUTER_ADVERT = 9,
ICMP4_ROUTER_SOLICIT = 10,
ICMP4_TIME_EXCEEDED = 11,
ICMP4_PARAM_PROB = 12,
ICMP4_TIMESTAMP_REQUEST = 13,
ICMP4_TIMESTAMP_REPLY = 14,
ICMP4_MASK_REQUEST = 17,
ICMP4_MASK_REPLY = 18
} ICMP4_TYPE,
*PICMP4_TYPE;
Constants
- ICMP4_ECHO_REPLY
ICMP echo reply message.
- ICMP4_DST_UNREACH
The specified destination for the message is unreachable.
- ICMP4_SOURCE_QUENCH
ICMP source quench message.
- ICMP4_REDIRECT
ICMP redirection message.
- ICMP4_ECHO_REQUEST
ICMP echo redirection message.
- ICMP4_ROUTER_ADVERT
ICMP router advertisement message.
- ICMP4_ROUTER_SOLICIT
ICMP router solicitation message.
- ICMP4_TIME_EXCEEDED
The ICMPv6 message has timed out.
- ICMP4_PARAM_PROB
The IPv4 header is malformed or contains an incorrect value.
- ICMP4_TIMESTAMP_REQUEST
ICMP timestamp request message.
- ICMP4_TIMESTAMP_REPLY
ICMP timestamp reply message.
- ICMP4_MASK_REQUEST
ICMP mask request message.
- ICMP4_MASK_REPLY
ICMP mask reply message.