| .. _types: |
| |
| Type value assignment |
| --------------------- |
| |
| +---------------------------------------------+-------------------+----------------+ |
| | 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 reservations: |
| |
| 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) | |
| +----------------+-----------------------------------------------------------+ |