blob: ea676ce4ed18958acccd570d8b4da9014924e45e [file] [log] [blame]
.. _types:
TLV-TYPE number assignments
---------------------------
+---------------------------------------------+------------------+-----------------+
| 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 |
+---------------------------------------------+------------------+-----------------+
| ParametersSha256DigestComponent | 2 | 0x02 |
+---------------------------------------------+------------------+-----------------+
| **Interest packet** |
+---------------------------------------------+------------------+-----------------+
| CanBePrefix | 33 | 0x21 |
+---------------------------------------------+------------------+-----------------+
| MustBeFresh | 18 | 0x12 |
+---------------------------------------------+------------------+-----------------+
| ForwardingHint | 30 | 0x1e |
+---------------------------------------------+------------------+-----------------+
| Nonce | 10 | 0x0a |
+---------------------------------------------+------------------+-----------------+
| InterestLifetime | 12 | 0x0c |
+---------------------------------------------+------------------+-----------------+
| HopLimit | 34 (non-critical)| 0x22 |
+---------------------------------------------+------------------+-----------------+
| Parameters | 36 (non-critical)| 0x24 |
+---------------------------------------------+------------------+-----------------+
| **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, 3, 4, | |
| 35, 37-79 | Reserved for future assignments (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 9 | Reserved, formerly `Selectors` |
+----------------+-----------------------------------------------------------+
| 11 | Reserved, formerly `Scope` |
+----------------+-----------------------------------------------------------+
| 13 | Reserved, formerly `MinSuffixComponents` |
+----------------+-----------------------------------------------------------+
| 14 | Reserved, formerly `MaxSuffixComponents` |
+----------------+-----------------------------------------------------------+
| 15 | Reserved, formerly `PublisherPublicKeyLocator` |
+----------------+-----------------------------------------------------------+
| 16 | Reserved, formerly `Exclude` |
+----------------+-----------------------------------------------------------+
| 17 | Reserved, formerly `ChildSelector` |
+----------------+-----------------------------------------------------------+
| 19 | Reserved, formerly `Any` |
+----------------+-----------------------------------------------------------+
| 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 the forwarder |
| | (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