Project

General

Profile

NameComponentType » History » Version 10

Junxiao Shi, 08/21/2018 01:43 PM

1 1 Alex Afanasyev
# Name Component Type Assignment
2
3 9 Davide Pesavento
This document provides reference to the assigned Name Component types as well as reserves ranges of types for experimentation purposes.
4 2 Alex Afanasyev
5
## Assigned types
6
7 10 Junxiao Shi
Type                                    | TLV-TYPE (dec) | TLV-TYPE (hex) |Description of the content           | Reference
8
----------------------------------------|----------------|----------------|-------------------------------------|----------
9
Invalid                                 |     0          |   0x00         |Invalid name component type          | [NDN Packet spec](https://named-data.net/doc/NDN-packet-spec/current/)
10
ImplicitSha256DigestComponent           |     1          |   0x01         |Implicit SHA256 digest component     | [NDN Packet spec](https://named-data.net/doc/NDN-packet-spec/current/)
11
ParametersSha256DigestComponent         |     2          |   0x02         |SHA256 digest of Interest Parameters | [NDN Packet spec](https://named-data.net/doc/NDN-packet-spec/current/)
12
GenericNameComponent                    |     8          |   0x08         |Generic name component               | [NDN Packet spec](https://named-data.net/doc/NDN-packet-spec/current/)
13
KeywordNameComponent                    |    32          |   0x20         |well-known keyword                   |
14
SegmentNameComponent                    |    33          |   0x21         |segment number                       |
15
ByteOffsetNameComponent                 |    34          |   0x22         |byte offset                          |
16
VersionNameComponent                    |    35          |   0x23         |version number                       |
17
TimestampNameCompont                    |    36          |   0x24         |UnixTime timestamp in micros         |
18
SequenceNumNameCompont                  |    37          |   0x25         |sequence number                      |
19 9 Davide Pesavento
20 2 Alex Afanasyev
## Reserved ranges
21
22
Type (dec)  | Description
23 9 Davide Pesavento
------------|---------------------------------------
24 10 Junxiao Shi
3-7, 9-31   | Reserved
25
38-200      | Unassigned (1-byte encoding)
26 9 Davide Pesavento
201-252     | For experimental use (1-byte encoding)
27
253-3200    | Unassigned (3-byte encoding)
28
3201-65535  | For experimental use (3-byte encoding)
29
65536+      | Invalid values (5+-byte encoding)