Type codes indicate the ICMP pessage type. Below is a table containing the type codes, their meaning and additional field values for various codes.
| Type | Meaning |
| 0 |
echo-reply |
| 3 |
destination unreachable code 0 = net unreachable
1 = host unreachable
2 = protocol unreachable
3 = port unreachable
4 = fragmentation needed and DF set
5 = source route failed |
| 4 |
source-quench |
| 5 |
redirect code 0 = datagrams for the network
1 = datagrams for the host
2 = datagrams for the type of service & network
3 = datagrams for the type of service & host
|
| 6 |
alternate-address |
| 8 |
echo |
| 9 |
router-advertisement |
| 10 |
router-solicitation |
| 11 |
time-exceeded code 0 = time to live exceeded in transit
1 = fragment reassembly time exceeded |
| 12 |
parameter-problem |
| 13 |
timestamp-request |
| 14 |
timestamp-reply |
| 15 |
information-request |
| 16 |
information-reply |
| 17 |
mask-request |
| 18 |
mask-reply |
| 31 |
conversion-error |
| 32 |
mobile-redirect |
Bookmark this page and SHARE: