Adding hex value of assigned types (to simplify debugging)
git-svn-id: svn+ssh://dyadis.cs.arizona.edu/NDN-spec/spec-sphinx@191 c5937c81-b952-4fd9-96ba-3036b240b622
diff --git a/types.rst b/types.rst
index 4d60938..6eb48d6 100644
--- a/types.rst
+++ b/types.rst
@@ -3,71 +3,72 @@
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 | Assigned value | Assigned value |
+| | (decimal) | (hexadecimal) |
++=============================================+===================+================+
+| **Packet types** |
++---------------------------------------------+-------------------+----------------+
+| Interest | 0 | 0x00 |
++---------------------------------------------+-------------------+----------------+
+| Data | 1 | 0x01 |
++---------------------------------------------+-------------------+----------------+
+| **Common fields** | |
++---------------------------------------------+-------------------+----------------+
+| Name | 2 | 0x02 |
++---------------------------------------------+-------------------+----------------+
+| NameComponent | 3 | 0x03 |
++---------------------------------------------+-------------------+----------------+
+| **Interest packet** |
++---------------------------------------------+-------------------+----------------+
+| Selectors | 4 | 0x04 |
++---------------------------------------------+-------------------+----------------+
+| Nonce | 5 | 0x05 |
++---------------------------------------------+-------------------+----------------+
+| Scope | 6 | 0x06 |
++---------------------------------------------+-------------------+----------------+
+| InterestLifetime | 7 | 0x07 |
++---------------------------------------------+-------------------+----------------+
+| **Interest/Selectors** |
++---------------------------------------------+-------------------+----------------+
+| MinSuffixComponents | 8 | 0x08 |
++---------------------------------------------+-------------------+----------------+
+| MaxSuffixComponents | 9 | 0x09 |
++---------------------------------------------+-------------------+----------------+
+| PublisherPublicKeyLocator | 10 | 0x0a |
++---------------------------------------------+-------------------+----------------+
+| Exclude | 11 | 0x0b |
++---------------------------------------------+-------------------+----------------+
+| ChildSelector | 12 | 0x0c |
++---------------------------------------------+-------------------+----------------+
+| MustBeFresh | 13 | 0x0d |
++---------------------------------------------+-------------------+----------------+
+| Any | 14 | 0x0e |
++---------------------------------------------+-------------------+----------------+
+| **Data packet** |
++---------------------------------------------+-------------------+----------------+
+| MetaInfo | 15 | 0x0f |
++---------------------------------------------+-------------------+----------------+
+| Content | 16 | 0x10 |
++---------------------------------------------+-------------------+----------------+
+| SignatureInfo | 17 | 0x11 |
++---------------------------------------------+-------------------+----------------+
+| SignatureValue | 18 | 0x12 |
++---------------------------------------------+-------------------+----------------+
+| **Data/MetaInfo** |
++---------------------------------------------+-------------------+----------------+
+| ContentType | 19 | 0x13 |
++---------------------------------------------+-------------------+----------------+
+| FreshnessPeriod | 20 | 0x14 |
++---------------------------------------------+-------------------+----------------+
+| **Data/Signature** |
++---------------------------------------------+-------------------+----------------+
+| SignatureType | 21 | 0x15 |
++---------------------------------------------+-------------------+----------------+
+| KeyLocator | 22 | 0x16 |
++---------------------------------------------+-------------------+----------------+
+| KeyLocatorDigest | 23 | 0x17 |
++---------------------------------------------+-------------------+----------------+
Type value reservations
~~~~~~~~~~~~~~~~~~~~~~~