ICMP types and codes according to the on-line IANA - ICMP Type Numbers - <http://http://www.iana.org/assignments/icmp-parameters>, cited September 14 2009. More...
Defines | |
ICMP types definitions | |
#define | ICMP_ECHOREPLY 0 |
Echo Reply. | |
#define | ICMP_DEST_UNREACH 3 |
Destination Unreachable. | |
#define | ICMP_SOURCE_QUENCH 4 |
Source Quench. | |
#define | ICMP_REDIRECT 5 |
Redirect. | |
#define | ICMP_ALTERNATE_ADDR 6 |
Alternate Host Address. | |
#define | ICMP_ECHO 8 |
Echo Request. | |
#define | ICMP_ROUTER_ADV 9 |
Router Advertisement. | |
#define | ICMP_ROUTER_SOL 10 |
Router solicitation. | |
#define | ICMP_TIME_EXCEEDED 11 |
Time Exceeded. | |
#define | ICMP_PARAMETERPROB 12 |
Parameter Problem. | |
#define | ICMP_TIMESTAMP 13 |
Timestamp Request. | |
#define | ICMP_TIMESTAMPREPLY 14 |
Timestamp Reply. | |
#define | ICMP_INFO_REQUEST 15 |
Information Request. | |
#define | ICMP_INFO_REPLY 16 |
Information Reply. | |
#define | ICMP_ADDRESS 17 |
Address Mask Request. | |
#define | ICMP_ADDRESSREPLY 18 |
Address Mask Reply. | |
#define | ICMP_TRACEROUTE 30 |
Traceroute. | |
#define | ICMP_CONVERSION_ERROR 31 |
Datagram Conversion Error. | |
#define | ICMP_REDIRECT_MOBILE 32 |
Mobile Host Redirect. | |
#define | ICMP_IPV6_WHERE_ARE_YOU 33 |
IPv6 Where-Are-You. | |
#define | ICMP_IPV6_I_AM_HERE 34 |
IPv6 I-Am-Here. | |
#define | ICMP_MOBILE_REQUEST 35 |
Mobile Registration Request. | |
#define | ICMP_MOBILE_REPLY 36 |
Mobile Registration Reply. | |
#define | ICMP_DN_REQUEST 37 |
Domain name request. | |
#define | ICMP_DN_REPLY 38 |
Domain name reply. | |
#define | ICMP_SKIP 39 |
SKIP. | |
#define | ICMP_PHOTURIS 40 |
Photuris. | |
ICMP_DEST_UNREACH codes definitions | |
#define | ICMP_NET_UNREACH 0 |
Network Unreachable. | |
#define | ICMP_HOST_UNREACH 1 |
Host Unreachable. | |
#define | ICMP_PROT_UNREACH 2 |
Protocol Unreachable. | |
#define | ICMP_PORT_UNREACH 3 |
Port Unreachable. | |
#define | ICMP_FRAG_NEEDED 4 |
Fragmentation needed but the Do Not Fragment bit was set. | |
#define | ICMP_SR_FAILED 5 |
Source Route failed. | |
#define | ICMP_NET_UNKNOWN 6 |
Destination network unknown. | |
#define | ICMP_HOST_UNKNOWN 7 |
Destination host unknown. | |
#define | ICMP_HOST_ISOLATED 8 |
Source host isolated (obsolete). | |
#define | ICMP_NET_ANO 9 |
Destination network administratively prohibited. | |
#define | ICMP_HOST_ANO 10 |
Destination host administratively prohibited. | |
#define | ICMP_NET_UNR_TOS 11 |
Network unreachable for this type of service. | |
#define | ICMP_HOST_UNR_TOS 12 |
Host unreachable for this type of service. | |
#define | ICMP_PKT_FILTERED 13 |
Communication administratively prohibited by filtering. | |
#define | ICMP_PREC_VIOLATION 14 |
Host precedence violation. | |
#define | ICMP_PREC_CUTOFF 15 |
Precedence cutoff in effect. | |
ICMP_REDIRECT codes definitions | |
#define | ICMP_REDIR_NET 0 |
Network redirect (or subnet). | |
#define | ICMP_REDIR_HOST 1 |
Host redirect. | |
#define | ICMP_REDIR_NETTOS 2 |
Network redirect for this type of service. | |
#define | ICMP_REDIR_HOSTTOS 3 |
Host redirect for this type of service. | |
ICMP_ALTERNATE_ADDRESS codes definitions | |
#define | ICMP_ALTERNATE_HOST 0 |
Alternate address for host. | |
ICMP_ROUTER_ADV codes definitions | |
#define | ICMP_ROUTER_NORMAL 0 |
Normal router advertisement. | |
#define | ICMP_ROUTER_NO_NORMAL_TRAFFIC 16 |
Does not route common traffic. | |
ICMP_TIME_EXCEEDED codes definitions | |
#define | ICMP_EXC_TTL 0 |
Transit TTL exceeded. | |
#define | ICMP_EXC_FRAGTIME 1 |
Reassembly TTL exceeded. | |
ICMP_PARAMETERPROB codes definitions | |
#define | ICMP_PARAM_POINTER 0 |
Pointer indicates the error. | |
#define | ICMP_PARAM_MISSING 1 |
Missing required option. | |
#define | ICMP_PARAM_LENGTH 2 |
Bad length. | |
ICMP_PHOTURIS codes definitions | |
#define | ICMP_PHOTURIS_BAD_SPI 0 |
Bad SPI. | |
#define | ICMP_PHOTURIS_AUTHENTICATION 1 |
Authentication failed. | |
#define | ICMP_PHOTURIS_DECOMPRESSION 2 |
Decompression failed. | |
#define | ICMP_PHOTURIS_DECRYPTION 3 |
Decryption failed. | |
#define | ICMP_PHOTURIS_NEED_AUTHENTICATION 4 |
Need authentication. | |
#define | ICMP_PHOTURIS_NEED_AUTHORIZATION 5 |
Need authorization. | |
Typedefs | |
typedef uint8_t | icmp_type_t |
ICMP type type definition. | |
typedef uint8_t | icmp_code_t |
ICMP code type definition. | |
typedef uint16_t | icmp_param_t |
ICMP parameter type definition. |
ICMP types and codes according to the on-line IANA - ICMP Type Numbers - <http://http://www.iana.org/assignments/icmp-parameters>, cited September 14 2009.