blob: ad7b7d16e8a0d55de7d309566ade16787ea8761b [file] [log] [blame]
.. _types:
Type value assignment
---------------------
+---------------------------------------------+-------------------+----------------+
| Type | Assigned value | Assigned value |
| | (decimal) | (hexadecimal) |
+=============================================+===================+================+
| **Packet types** |
+---------------------------------------------+-------------------+----------------+
| Interest | 1 | 0x01 |
+---------------------------------------------+-------------------+----------------+
| Data | 2 | 0x02 |
+---------------------------------------------+-------------------+----------------+
| **Common fields** |
+---------------------------------------------+-------------------+----------------+
| Name | 3 | 0x03 |
+---------------------------------------------+-------------------+----------------+
| NameComponent | 4 | 0x04 |
+---------------------------------------------+-------------------+----------------+
| **Interest packet** |
+---------------------------------------------+-------------------+----------------+
| Selectors | 5 | 0x05 |
+---------------------------------------------+-------------------+----------------+
| Nonce | 6 | 0x06 |
+---------------------------------------------+-------------------+----------------+
| Scope | 7 | 0x07 |
+---------------------------------------------+-------------------+----------------+
| InterestLifetime | 8 | 0x08 |
+---------------------------------------------+-------------------+----------------+
| **Interest/Selectors** |
+---------------------------------------------+-------------------+----------------+
| MinSuffixComponents | 9 | 0x09 |
+---------------------------------------------+-------------------+----------------+
| MaxSuffixComponents | 10 | 0x0a |
+---------------------------------------------+-------------------+----------------+
| PublisherPublicKeyLocator | 11 | 0x0b |
+---------------------------------------------+-------------------+----------------+
| Exclude | 12 | 0x0c |
+---------------------------------------------+-------------------+----------------+
| ChildSelector | 13 | 0x0d |
+---------------------------------------------+-------------------+----------------+
| MustBeFresh | 14 | 0x0e |
+---------------------------------------------+-------------------+----------------+
| Any | 15 | 0x0f |
+---------------------------------------------+-------------------+----------------+
| **Data packet** |
+---------------------------------------------+-------------------+----------------+
| MetaInfo | 16 | 0x10 |
+---------------------------------------------+-------------------+----------------+
| Content | 17 | 0x11 |
+---------------------------------------------+-------------------+----------------+
| SignatureInfo | 18 | 0x12 |
+---------------------------------------------+-------------------+----------------+
| SignatureValue | 19 | 0x13 |
+---------------------------------------------+-------------------+----------------+
| **Data/MetaInfo** |
+---------------------------------------------+-------------------+----------------+
| ContentType | 20 | 0x14 |
+---------------------------------------------+-------------------+----------------+
| FreshnessPeriod | 21 | 0x15 |
+---------------------------------------------+-------------------+----------------+
| **Data/Signature** |
+---------------------------------------------+-------------------+----------------+
| SignatureType | 22 | 0x16 |
+---------------------------------------------+-------------------+----------------+
| KeyLocator | 23 | 0x17 |
+---------------------------------------------+-------------------+----------------+
| KeyLocatorDigest | 24 | 0x18 |
+---------------------------------------------+-------------------+----------------+
.. _type reservations:
Type value reservations
~~~~~~~~~~~~~~~~~~~~~~~
+----------------+-----------------------------------------------------------+
| Values | Designation |
+================+===========================================================+
| 0, 25-100 | Reserved for future assignments (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 101-127 | Reserved for assignments related to forwarding daemon |
+----------------+-----------------------------------------------------------+
| 128-252 | For application use (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 253-32767 | Reserved for future assignments (3-byte encoding) |
+----------------+-----------------------------------------------------------+
| >32767 | For application use (3-byte encoding) |
+----------------+-----------------------------------------------------------+