doc: fix display of icmp code and type array

pull/4113/head
Eric Leblond 6 years ago committed by Victor Julien
parent 0c84591afe
commit 0d5608bab2

@ -499,43 +499,75 @@ The following lists the meaning of all ICMP types. When a code is not listed,
only type 0 is defined and has the meaning of the ICMP code, in the table above. only type 0 is defined and has the meaning of the ICMP code, in the table above.
A recent table can be found `at the website of IANA <https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml>`_ A recent table can be found `at the website of IANA <https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml>`_
========== ========== ========================================================================= +-----------+-----------+-----------------------------------------------------------------------+
ICMP Code ICMP Type Description | ICMP Code | ICMP Type | Description |
========== ========== ========================================================================= +===========+===========+=======================================================================+
3 - 0 - Net Unreachable | 3 | 0 | Net Unreachable |
- 1 - Host Unreachable | +-----------+-----------------------------------------------------------------------+
- 2 - Protocol Unreachable | | 1 | Host Unreachable |
- 3 - Port Unreachable | +-----------+-----------------------------------------------------------------------+
- 4 - Fragmentation Needed and Don't Fragment was Set | | 2 | Protocol Unreachable |
- 5 - Source Route Failed | +-----------+-----------------------------------------------------------------------+
- 6 - Destination Network Unknown | | 3 | Port Unreachable |
- 7 - Destination Host Unknown | +-----------+-----------------------------------------------------------------------+
- 8 - Source Host Isolated | | 4 | Fragmentation Needed and Don't Fragment was Set |
- 9 - Communication with Destination Network is Administratively Prohibited | +-----------+-----------------------------------------------------------------------+
- 10 - Communication with Destination Host is Administratively Prohibited | | 5 | Source Route Failed |
- 11 - Destination Network Unreachable for Type of Service | +-----------+-----------------------------------------------------------------------+
- 12 - Destination Host Unreachable for Type of Service | | 6 | Destination Network Unknown |
- 13 - Communication Administratively Prohibited | +-----------+-----------------------------------------------------------------------+
- 14 - Host Precedence Violation | | 7 | Destination Host Unknown |
- 15 - Precedence cutoff in effect | +-----------+-----------------------------------------------------------------------+
5 - 0 - Redirect Datagram for the Network (or subnet) | | 8 | Source Host Isolated |
- 1 - Redirect Datagram for the Host | +-----------+-----------------------------------------------------------------------+
- 2 - Redirect Datagram for the Type of Service and Network | | 9 | Communication with Destination Network is Administratively Prohibited |
- 3 - Redirect Datagram for the Type of Service and Host | +-----------+-----------------------------------------------------------------------+
9 - 0 - Normal router advertisement | | 10 | Communication with Destination Host is Administratively Prohibited |
- 16 - Doest not route common traffic | +-----------+-----------------------------------------------------------------------+
11 - 0 - Time to Live exceeded in Transit | | 11 | Destination Network Unreachable for Type of Service |
- 1 - Fragment Reassembly Time Exceeded | +-----------+-----------------------------------------------------------------------+
12 - 0 - Pointer indicates the error | | 12 | Destination Host Unreachable for Type of Service |
- 1 - Missing a Required Option | +-----------+-----------------------------------------------------------------------+
- 2 - Bad Length | | 13 | Communication Administratively Prohibited |
40 - 0 - Bad SPI | +-----------+-----------------------------------------------------------------------+
- 1 - Authentication Failed | | 14 | Host Precedence Violation |
- 2 - Decompression Failed | +-----------+-----------------------------------------------------------------------+
- 3 - Decryption Failed | | 15 | Precedence cutoff in effect |
- 4 - Need Authentication +-----------+-----------+-----------------------------------------------------------------------+
- 5 - Need Authorization | 5 | 0 | Redirect Datagram for the Network (or subnet) |
========== ========== ========================================================================= | +-----------+-----------------------------------------------------------------------+
| | 1 | Redirect Datagram for the Host |
| +-----------+-----------------------------------------------------------------------+
| | 2 | Redirect Datagram for the Type of Service and Network |
| +-----------+-----------------------------------------------------------------------+
| | 3 | Redirect Datagram for the Type of Service and Host |
+-----------+-----------+-----------------------------------------------------------------------+
| 9 | 0 | Normal router advertisement |
| +-----------+-----------------------------------------------------------------------+
| | 16 | Doesn't route common traffic |
+-----------+-----------+-----------------------------------------------------------------------+
| 11 | 0 | Time to Live exceeded in Transit |
| +-----------+-----------------------------------------------------------------------+
| | 1 | Fragment Reassembly Time Exceeded |
+-----------+-----------+-----------------------------------------------------------------------+
| 12 | 0 | Pointer indicates the error |
| +-----------+-----------------------------------------------------------------------+
| | 1 | Missing a Required Option |
| +-----------+-----------------------------------------------------------------------+
| | 2 | Bad Length |
+-----------+-----------+-----------------------------------------------------------------------+
| 40 | 0 | Bad SPI |
| +-----------+-----------------------------------------------------------------------+
| | 1 | Authentication Failed |
| +-----------+-----------------------------------------------------------------------+
| | 2 | Decompression Failed |
| +-----------+-----------------------------------------------------------------------+
| | 3 | Decryption Failed |
| +-----------+-----------------------------------------------------------------------+
| | 4 | Need Authentication |
| +-----------+-----------------------------------------------------------------------+
| | 5 | Need Authorization |
+-----------+-----------+-----------------------------------------------------------------------+
icmp_id icmp_id

Loading…
Cancel
Save