Project

General

Profile

NameComponentType » History » Version 12

Davide Pesavento, 08/22/2018 04:03 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 12 Davide Pesavento
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 SHA-256 digest component     | [NDN Packet spec](https://named-data.net/doc/NDN-packet-spec/current/)
11
ParametersSha256DigestComponent         |     2          |   0x02         |SHA-256 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
TimestampNameComponent                  |    36          |   0x24         |Unix timestamp in microseconds        |
18
SequenceNumNameComponent                |    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)