blob: 4d609385c32b30a003f58107ebe6f7e584bed474 [file] [log] [blame]
.. _types:
Type value assignment
---------------------
+---------------------------------------------+-------------------+
| Type | Assigned value |
+=============================================+===================+
| **Packet types** |
+---------------------------------------------+-------------------+
| Interest | 0 |
+---------------------------------------------+-------------------+
| Data | 1 |
+---------------------------------------------+-------------------+
| **Common fields** |
+---------------------------------------------+-------------------+
| Name | 2 |
+---------------------------------------------+-------------------+
| NameComponent | 3 |
+---------------------------------------------+-------------------+
| **Interest packet** |
+---------------------------------------------+-------------------+
| Selectors | 4 |
+---------------------------------------------+-------------------+
| Nonce | 5 |
+---------------------------------------------+-------------------+
| Scope | 6 |
+---------------------------------------------+-------------------+
| InterestLifetime | 7 |
+---------------------------------------------+-------------------+
| **Interest/Selectors** |
+---------------------------------------------+-------------------+
| MinSuffixComponents | 8 |
+---------------------------------------------+-------------------+
| MaxSuffixComponents | 9 |
+---------------------------------------------+-------------------+
| PublisherPublicKeyLocator | 10 |
+---------------------------------------------+-------------------+
| Exclude | 11 |
+---------------------------------------------+-------------------+
| ChildSelector | 12 |
+---------------------------------------------+-------------------+
| MustBeFresh | 13 |
+---------------------------------------------+-------------------+
| Any | 14 |
+---------------------------------------------+-------------------+
| **Data packet** |
+---------------------------------------------+-------------------+
| MetaInfo | 15 |
+---------------------------------------------+-------------------+
| Content | 16 |
+---------------------------------------------+-------------------+
| SignatureInfo | 17 |
+---------------------------------------------+-------------------+
| SignatureValue | 18 |
+---------------------------------------------+-------------------+
| **Data/MetaInfo** |
+---------------------------------------------+-------------------+
| ContentType | 19 |
+---------------------------------------------+-------------------+
| FreshnessPeriod | 20 |
+---------------------------------------------+-------------------+
| **Data/Signature** |
+---------------------------------------------+-------------------+
| SignatureType | 21 |
+---------------------------------------------+-------------------+
| KeyLocator | 22 |
+---------------------------------------------+-------------------+
| KeyLocatorDigest | 23 |
+---------------------------------------------+-------------------+
Type value reservations
~~~~~~~~~~~~~~~~~~~~~~~
+----------------+-----------------------------------------------------------+
| Values | Designation |
+================+===========================================================+
| 24-127 | Reserved for future assignments (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 128-252 | For application use (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 253-32767 | Reserved for future assignments (3-byte encoding) |
+----------------+-----------------------------------------------------------+
| >32767 | For application use (3-byte encoding) |
+----------------+-----------------------------------------------------------+