Correcting KeyLocator (allow different types) and initial type assignment
git-svn-id: svn+ssh://dyadis.cs.arizona.edu/NDN-spec/spec-sphinx@188 c5937c81-b952-4fd9-96ba-3036b240b622
diff --git a/types.rst b/types.rst
new file mode 100644
index 0000000..4d60938
--- /dev/null
+++ b/types.rst
@@ -0,0 +1,85 @@
+.. _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) |
++----------------+-----------------------------------------------------------+