Project

General

Profile

NameComponentType » History » Revision 14

Revision 13 (Davide Pesavento, 11/22/2019 09:56 PM) → Revision 14/29 (Davide Pesavento, 11/22/2019 10:01 PM)

# Name Component Type Assignment 

 This document provides reference to the assigned Name Component types as well as reserves ranges of types for experimentation purposes. 

 ## Assigned types 

 Type                                      | TLV-TYPE (dec) | TLV-TYPE (hex) | TLV-VALUE format     | Description                             | Reference 
 ----------------------------------------|----------------|----------------|--------------------|---------------------------------------|---------- 
 Invalid                                   |       0            |     0x00           | N/A                  | Invalid name component type             | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html) Packet spec](http://named-data.net/doc/NDN-packet-spec/current/name.html) 
 ImplicitSha256DigestComponent             |       1            |     0x01           | 32OCTET              | Implicit SHA-256 digest component       | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html) Packet spec](http://named-data.net/doc/NDN-packet-spec/current/name.html) 
 ParametersSha256DigestComponent           |       2            |     0x02           | 32OCTET              | SHA-256 digest of Interest Parameters | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html) Packet spec](http://named-data.net/doc/NDN-packet-spec/current/name.html) 
 GenericNameComponent                      |       8            |     0x08           | *OCTET               | Generic name component                  | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html) Packet spec](http://named-data.net/doc/NDN-packet-spec/current/name.html) 
 KeywordNameComponent                      |      32            |     0x20           | *OCTET               | Well-known keyword                      | 
 SegmentNameComponent                      |      33            |     0x21           | nonNegativeInteger | Segment number                          | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/) 
 ByteOffsetNameComponent                   |      34            |     0x22           | nonNegativeInteger | Byte offset                             | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/) 
 VersionNameComponent                      |      35            |     0x23           | nonNegativeInteger | Version number                          | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/) 
 TimestampNameComponent                    |      36            |     0x24           | nonNegativeInteger | Unix timestamp in microseconds          | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/) 
 SequenceNumNameComponent                  |      37            |     0x25           | nonNegativeInteger | Sequence number                         | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/) 

 ## Reserved ranges 

 Type (dec)    | Description 
 ------------|--------------------------------------- 
 3-7, 9-31     | Reserved 
 38-200        | Unassigned (1-byte encoding) 
 201-252       | For experimental use (1-byte encoding) 
 253-3200      | Unassigned (3-byte encoding) 
 3201-65535    | For experimental use (3-byte encoding) 
 65536+        | Invalid values (5+-byte encoding)