ICMP Packet Format

Message Type (value)             Legal Codes (values)

Destination Unreachable (3)                Network Unreachable (O)
                                                                Host Unreachable (1 )
                                                                Protocol Unreachable (2)
                                                                Port Unreachable (3)
                                                                Fragmentation Needed and DF set (4)
                                                                Source Route Failed (5)

Time Exceeded (11 )                           TTL exceeded in transit (O)
                                                                Fragment reassembly time exceeded (1 )

Parameter Problem (12)                      Pointer indicates error (O)

Source Quench (4)                                (none) (O)

Redirect (5)                                            Redirect datagrams for the Network 10)
                                                                Redirect datagrams for the Host (1 )
                                                                Redirect datagrams for the TOS and Network (2)
                                                                Redirect datagrams for the TOS and Host (3)

Echo (8)                                                 (none) (O)
Echo Reply (8)                                      (none) (O)
Timestamp (13)                                    (none) (O)
Timestamp Reply (14)                         (none) (O)
Information Request (15)                     (none) (O)
Information Reply (16)                          (none) (O)