Shifting TLV type assignment by one (type with code 0 is now a reserved value)
git-svn-id: svn+ssh://dyadis.cs.arizona.edu/NDN-spec/spec-sphinx@194 c5937c81-b952-4fd9-96ba-3036b240b622
diff --git a/types.rst b/types.rst
index 0596ba7..47c74cb 100644
--- a/types.rst
+++ b/types.rst
@@ -9,65 +9,65 @@
+=============================================+===================+================+
| **Packet types** |
+---------------------------------------------+-------------------+----------------+
-| Interest | 0 | 0x00 |
+| Interest | 1 | 0x01 |
+---------------------------------------------+-------------------+----------------+
-| Data | 1 | 0x01 |
+| Data | 2 | 0x02 |
+---------------------------------------------+-------------------+----------------+
| **Common fields** |
+---------------------------------------------+-------------------+----------------+
-| Name | 2 | 0x02 |
+| Name | 3 | 0x03 |
+---------------------------------------------+-------------------+----------------+
-| NameComponent | 3 | 0x03 |
+| NameComponent | 4 | 0x04 |
+---------------------------------------------+-------------------+----------------+
| **Interest packet** |
+---------------------------------------------+-------------------+----------------+
-| Selectors | 4 | 0x04 |
+| Selectors | 5 | 0x05 |
+---------------------------------------------+-------------------+----------------+
-| Nonce | 5 | 0x05 |
+| Nonce | 6 | 0x06 |
+---------------------------------------------+-------------------+----------------+
-| Scope | 6 | 0x06 |
+| Scope | 7 | 0x07 |
+---------------------------------------------+-------------------+----------------+
-| InterestLifetime | 7 | 0x07 |
+| InterestLifetime | 8 | 0x08 |
+---------------------------------------------+-------------------+----------------+
| **Interest/Selectors** |
+---------------------------------------------+-------------------+----------------+
-| MinSuffixComponents | 8 | 0x08 |
+| MinSuffixComponents | 9 | 0x09 |
+---------------------------------------------+-------------------+----------------+
-| MaxSuffixComponents | 9 | 0x09 |
+| MaxSuffixComponents | 10 | 0x0a |
+---------------------------------------------+-------------------+----------------+
-| PublisherPublicKeyLocator | 10 | 0x0a |
+| PublisherPublicKeyLocator | 11 | 0x0b |
+---------------------------------------------+-------------------+----------------+
-| Exclude | 11 | 0x0b |
+| Exclude | 12 | 0x0c |
+---------------------------------------------+-------------------+----------------+
-| ChildSelector | 12 | 0x0c |
+| ChildSelector | 13 | 0x0d |
+---------------------------------------------+-------------------+----------------+
-| MustBeFresh | 13 | 0x0d |
+| MustBeFresh | 14 | 0x0e |
+---------------------------------------------+-------------------+----------------+
-| Any | 14 | 0x0e |
+| Any | 15 | 0x0f |
+---------------------------------------------+-------------------+----------------+
| **Data packet** |
+---------------------------------------------+-------------------+----------------+
-| MetaInfo | 15 | 0x0f |
+| MetaInfo | 16 | 0x10 |
+---------------------------------------------+-------------------+----------------+
-| Content | 16 | 0x10 |
+| Content | 17 | 0x11 |
+---------------------------------------------+-------------------+----------------+
-| SignatureInfo | 17 | 0x11 |
+| SignatureInfo | 18 | 0x12 |
+---------------------------------------------+-------------------+----------------+
-| SignatureValue | 18 | 0x12 |
+| SignatureValue | 19 | 0x13 |
+---------------------------------------------+-------------------+----------------+
| **Data/MetaInfo** |
+---------------------------------------------+-------------------+----------------+
-| ContentType | 19 | 0x13 |
+| ContentType | 20 | 0x14 |
+---------------------------------------------+-------------------+----------------+
-| FreshnessPeriod | 20 | 0x14 |
+| FreshnessPeriod | 21 | 0x15 |
+---------------------------------------------+-------------------+----------------+
| **Data/Signature** |
+---------------------------------------------+-------------------+----------------+
-| SignatureType | 21 | 0x15 |
+| SignatureType | 22 | 0x16 |
+---------------------------------------------+-------------------+----------------+
-| KeyLocator | 22 | 0x16 |
+| KeyLocator | 23 | 0x17 |
+---------------------------------------------+-------------------+----------------+
-| KeyLocatorDigest | 23 | 0x17 |
+| KeyLocatorDigest | 24 | 0x18 |
+---------------------------------------------+-------------------+----------------+
.. _type reservations:
@@ -78,7 +78,7 @@
+----------------+-----------------------------------------------------------+
| Values | Designation |
+================+===========================================================+
-| 24-127 | Reserved for future assignments (1-byte encoding) |
+| 0, 25-127 | Reserved for future assignments (1-byte encoding) |
+----------------+-----------------------------------------------------------+
| 128-252 | For application use (1-byte encoding) |
+----------------+-----------------------------------------------------------+