blob: 57e85c48b9c10623611e0ebe25f0d3bbb522b767 [file] [log] [blame]
.. _types:
TLV-TYPE number assignment
--------------------------
+---------------------------------------------+------------------+-----------------+
| Type | Assigned number | Assigned number |
| | (decimal) | (hexadecimal) |
+=============================================+==================+=================+
| **Packet types** |
+---------------------------------------------+------------------+-----------------+
| Interest | 5 | 0x05 |
+---------------------------------------------+------------------+-----------------+
| Data | 6 | 0x06 |
+---------------------------------------------+------------------+-----------------+
| **Common fields** |
+---------------------------------------------+------------------+-----------------+
| Name | 7 | 0x07 |
+---------------------------------------------+------------------+-----------------+
| GenericNameComponent | 8 | 0x08 |
+---------------------------------------------+------------------+-----------------+
| ImplicitSha256DigestComponent | 1 | 0x01 |
+---------------------------------------------+------------------+-----------------+
| **Interest packet** |
+---------------------------------------------+------------------+-----------------+
| Selectors | 9 | 0x09 |
+---------------------------------------------+------------------+-----------------+
| Nonce | 10 | 0x0a |
+---------------------------------------------+------------------+-----------------+
| InterestLifetime | 12 | 0x0c |
+---------------------------------------------+------------------+-----------------+
| ForwardingHint | 30 | 0x1e |
+---------------------------------------------+------------------+-----------------+
| **Interest/Selectors** |
+---------------------------------------------+------------------+-----------------+
| MinSuffixComponents | 13 | 0x0d |
+---------------------------------------------+------------------+-----------------+
| MaxSuffixComponents | 14 | 0x0e |
+---------------------------------------------+------------------+-----------------+
| PublisherPublicKeyLocator | 15 | 0x0f |
+---------------------------------------------+------------------+-----------------+
| Exclude | 16 | 0x10 |
+---------------------------------------------+------------------+-----------------+
| ChildSelector | 17 | 0x11 |
+---------------------------------------------+------------------+-----------------+
| MustBeFresh | 18 | 0x12 |
+---------------------------------------------+------------------+-----------------+
| Any | 19 | 0x13 |
+---------------------------------------------+------------------+-----------------+
| **Data packet** |
+---------------------------------------------+------------------+-----------------+
| MetaInfo | 20 | 0x14 |
+---------------------------------------------+------------------+-----------------+
| Content | 21 | 0x15 |
+---------------------------------------------+------------------+-----------------+
| SignatureInfo | 22 | 0x16 |
+---------------------------------------------+------------------+-----------------+
| SignatureValue | 23 | 0x17 |
+---------------------------------------------+------------------+-----------------+
| **Data/MetaInfo** |
+---------------------------------------------+------------------+-----------------+
| ContentType | 24 | 0x18 |
+---------------------------------------------+------------------+-----------------+
| FreshnessPeriod | 25 | 0x19 |
+---------------------------------------------+------------------+-----------------+
| FinalBlockId | 26 | 0x1a |
+---------------------------------------------+------------------+-----------------+
| **Data/Signature** |
+---------------------------------------------+------------------+-----------------+
| SignatureType | 27 | 0x1b |
+---------------------------------------------+------------------+-----------------+
| KeyLocator | 28 | 0x1c |
+---------------------------------------------+------------------+-----------------+
| KeyDigest | 29 | 0x1d |
+---------------------------------------------+------------------+-----------------+
| **Link Object** |
+---------------------------------------------+------------------+-----------------+
| Delegation | 31 | 0x1f |
+---------------------------------------------+------------------+-----------------+
| Preference | 30 | 0x1e |
+---------------------------------------------+------------------+-----------------+
.. _type reservations:
TLV-TYPE number reservations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+----------------+-----------------------------------------------------------+
| Number range | Designation |
+================+===========================================================+
| 0, 2-4, 32-79 | Reserved for future assignments (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 11 | Reserved, formerly `Scope` |
+----------------+-----------------------------------------------------------+
| 32 | Reserved, formerly `SelectedDelegation` |
+----------------+-----------------------------------------------------------+
| 80-100 | Reserved for assignments related to local link data |
| | processing, e.g., `NDNLP`_, etc. (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 101-127 | Reserved for assignments related to forwarding daemon |
| | (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 128-252 | For application use (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 800-1000 | Reserved for assignments related to local link data |
| | processing, e.g., `NDNLP`_, etc. (3-byte encoding) |
+----------------+-----------------------------------------------------------+
| 253-799, | Reserved for future assignments (3-byte encoding) |
| 1001-32767 | |
+----------------+-----------------------------------------------------------+
| >32767 | For application use (3+-byte encoding) |
+----------------+-----------------------------------------------------------+
.. _NDNLP: https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2