Project

General

Profile

NameComponentType » History » Version 19

Alex Afanasyev, 10/26/2021 02:00 PM

1 1 Alex Afanasyev
# Name Component Type Assignment
2
3 17 Davide Pesavento
This document lists the assigned Name Component types as well as the reserves ranges of types for experimentation purposes.
4 2 Alex Afanasyev
5
## Assigned types
6
7 16 Davide Pesavento
Component Type                       |   TLV-TYPE   | TLV-VALUE Format   | Description                           | Alternate URI Format  | Reference
8
-------------------------------------|--------------|--------------------|---------------------------------------|-----------------------|----------
9
Invalid                              |    0 (0x00)  | N/A                | Invalid name component type           | N/A                   | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html)
10
ImplicitSha256DigestComponent        |    1 (0x01)  | 32OCTET            | Implicit SHA-256 digest component     | `sha256digest=<hex>`  | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html)
11
ParametersSha256DigestComponent      |    2 (0x02)  | 32OCTET            | SHA-256 digest of Interest Parameters | `params-sha256=<hex>` | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html)
12
GenericNameComponent                 |    8 (0x08)  | *OCTET             | Generic name component                | "`8=`" prefix omitted | [NDN packet spec](https://named-data.net/doc/NDN-packet-spec/current/name.html)
13
KeywordNameComponent                 |   32 (0x20)  | *OCTET             | Well-known keyword                    | (not defined)         |
14 18 Davide Pesavento
SegmentNameComponent                 |   33 (0x21)  | NonNegativeInteger | Segment number                        | `seg=<dec>`           | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/)
15
ByteOffsetNameComponent              |   34 (0x22)  | NonNegativeInteger | Byte offset                           | `off=<dec>`           | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/)
16
VersionNameComponent                 |   35 (0x23)  | NonNegativeInteger | Version number                        | `v=<dec>`             | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/)
17
TimestampNameComponent               |   36 (0x24)  | NonNegativeInteger | Unix timestamp in microseconds        | `t=<dec>`             | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/)
18
SequenceNumNameComponent             |   37 (0x25)  | NonNegativeInteger | Sequence number                       | `seq=<dec>`           | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-2-ndn-memo-naming-conventions/)
19 9 Davide Pesavento
20 2 Alex Afanasyev
## Reserved ranges
21
22 19 Alex Afanasyev
The reserved ranges are superset of TLV code reservations of the [NDN packet specification](https://named-data.net/doc/NDN-packet-spec/current/types.html#tlv-type-number-reservations) with the following additions:
23
24
TBD
25
26
27 2 Alex Afanasyev
Type (dec)  | Description
28 9 Davide Pesavento
------------|---------------------------------------
29 10 Junxiao Shi
3-7, 9-31   | Reserved
30
38-200      | Unassigned (1-byte encoding)
31 9 Davide Pesavento
201-252     | For experimental use (1-byte encoding)
32
253-3200    | Unassigned (3-byte encoding)
33
3201-65535  | For experimental use (3-byte encoding)
34 1 Alex Afanasyev
65536+      | Invalid values (5+-byte encoding)
35 17 Davide Pesavento
36
## References
37
38
https://named-data.net/doc/NDN-packet-spec/current/name.html