| .. _types: |
| |
| Type value assignment |
| --------------------- |
| |
| +---------------------------------------------+-------------------+----------------+ |
| | Type | Assigned value | Assigned value | |
| | | (decimal) | (hexadecimal) | |
| +=============================================+===================+================+ |
| | **Packet types** | |
| +---------------------------------------------+-------------------+----------------+ |
| | Interest | 5 | 0x05 | |
| +---------------------------------------------+-------------------+----------------+ |
| | Data | 6 | 0x06 | |
| +---------------------------------------------+-------------------+----------------+ |
| | **Common fields** | |
| +---------------------------------------------+-------------------+----------------+ |
| | Name | 7 | 0x07 | |
| +---------------------------------------------+-------------------+----------------+ |
| | NameComponent | 8 | 0x08 | |
| +---------------------------------------------+-------------------+----------------+ |
| | ImplicitSha256DigestComponent | 1 | 0x01 | |
| +---------------------------------------------+-------------------+----------------+ |
| | **Interest packet** | |
| +---------------------------------------------+-------------------+----------------+ |
| | Selectors | 9 | 0x09 | |
| +---------------------------------------------+-------------------+----------------+ |
| | Nonce | 10 | 0x0a | |
| +---------------------------------------------+-------------------+----------------+ |
| | InterestLifetime | 12 | 0x0c | |
| +---------------------------------------------+-------------------+----------------+ |
| | ForwardingHint | 30 | 0x1e | |
| +---------------------------------------------+-------------------+----------------+ |
| | **Interest/Selectors** | |
| +---------------------------------------------+-------------------+----------------+ |
| | MinSuffixComponents | 13 | 0x0d | |
| +---------------------------------------------+-------------------+----------------+ |
| | MaxSuffixComponents | 14 | 0x0e | |
| +---------------------------------------------+-------------------+----------------+ |
| | PublisherPublicKeyLocator | 15 | 0x0f | |
| +---------------------------------------------+-------------------+----------------+ |
| | Exclude | 16 | 0x10 | |
| +---------------------------------------------+-------------------+----------------+ |
| | ChildSelector | 17 | 0x11 | |
| +---------------------------------------------+-------------------+----------------+ |
| | MustBeFresh | 18 | 0x12 | |
| +---------------------------------------------+-------------------+----------------+ |
| | Any | 19 | 0x13 | |
| +---------------------------------------------+-------------------+----------------+ |
| | **Data packet** | |
| +---------------------------------------------+-------------------+----------------+ |
| | MetaInfo | 20 | 0x14 | |
| +---------------------------------------------+-------------------+----------------+ |
| | Content | 21 | 0x15 | |
| +---------------------------------------------+-------------------+----------------+ |
| | SignatureInfo | 22 | 0x16 | |
| +---------------------------------------------+-------------------+----------------+ |
| | SignatureValue | 23 | 0x17 | |
| +---------------------------------------------+-------------------+----------------+ |
| | **Data/MetaInfo** | |
| +---------------------------------------------+-------------------+----------------+ |
| | ContentType | 24 | 0x18 | |
| +---------------------------------------------+-------------------+----------------+ |
| | FreshnessPeriod | 25 | 0x19 | |
| +---------------------------------------------+-------------------+----------------+ |
| | FinalBlockId | 26 | 0x1a | |
| +---------------------------------------------+-------------------+----------------+ |
| | **Data/Signature** | |
| +---------------------------------------------+-------------------+----------------+ |
| | SignatureType | 27 | 0x1b | |
| +---------------------------------------------+-------------------+----------------+ |
| | KeyLocator | 28 | 0x1c | |
| +---------------------------------------------+-------------------+----------------+ |
| | KeyDigest | 29 | 0x1d | |
| +---------------------------------------------+-------------------+----------------+ |
| |
| .. _type reservations: |
| |
| Type value reservations |
| ~~~~~~~~~~~~~~~~~~~~~~~ |
| |
| +----------------+-----------------------------------------------------------+ |
| | Values | Designation | |
| +================+===========================================================+ |
| | 0, 2-4, 31-79 | Reserved for future assignments (1-byte encoding) | |
| +----------------+-----------------------------------------------------------+ |
| | 11 | Reserved, formerly `Scope` | |
| +----------------+-----------------------------------------------------------+ |
| | 80-100 | Reserved for assignments related to local link data | |
| | | processing, e.g., `NDNLP`_, etc. (1-byte encoding) | |
| +----------------+-----------------------------------------------------------+ |
| | 101-127 | Reserved for assignments related to forwarding daemon | |
| | | (1-byte encoding) | |
| +----------------+-----------------------------------------------------------+ |
| | 128-252 | For application use (1-byte encoding) | |
| +----------------+-----------------------------------------------------------+ |
| | 800-1000 | Reserved for assignments related to local link data | |
| | | processing, e.g., `NDNLP`_, etc. (3-byte encoding) | |
| +----------------+-----------------------------------------------------------+ |
| | 253-799, | Reserved for future assignments (3-byte encoding) | |
| | 1001-32767 | | |
| +----------------+-----------------------------------------------------------+ |
| | >32767 | For application use (3+-byte encoding) | |
| +----------------+-----------------------------------------------------------+ |
| |
| .. _NDNLP: http://redmine.named-data.net/projects/nfd/wiki/NDNLPv2 |