Project

General

Profile

NameComponentType » History » Version 26

Davide Pesavento, 10/29/2021 03:45 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 20 Alex Afanasyev
KeywordNameComponent                 |   48 (0x30)  | *OCTET             | Well-known keyword                    | (not defined)         |
14 22 Alex Afanasyev
SegmentNameComponent                 |   50 (0x32)  | NonNegativeInteger | Segment number                        | `seg=<dec>`           | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-3-ndn-memo-naming-conventions/)
15
ByteOffsetNameComponent              |   52 (0x34)  | NonNegativeInteger | Byte offset                           | `off=<dec>`           | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-3-ndn-memo-naming-conventions/)
16
VersionNameComponent                 |   54 (0x36)  | NonNegativeInteger | Version number                        | `v=<dec>`             | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-3-ndn-memo-naming-conventions/)
17
TimestampNameComponent               |   56 (0x38)  | NonNegativeInteger | Unix timestamp in microseconds        | `t=<dec>`             | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-3-ndn-memo-naming-conventions/)
18
SequenceNumNameComponent             |   58 (0x3a)  | NonNegativeInteger | Sequence number                       | `seq=<dec>`           | [NDN naming conventions](https://named-data.net/publications/techreports/ndn-tr-22-3-ndn-memo-naming-conventions/)
19 19 Alex Afanasyev
20 9 Davide Pesavento
## Reserved ranges
21 10 Junxiao Shi
22 24 Davide Pesavento
The reserved ranges are a superset of the TLV-TYPE 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 9 Davide Pesavento
24 26 Davide Pesavento
Type (dec)     | Description
25
---------------|----------------------------------------------------------------------------------------
26
[128, 252]     | For future assignment (1-byte encoding, application range in NDN packet spec)
27
[32768, 65535] | For future assignment (3-byte or 5-byte encoding, application range in NDN packet spec)
28
>65535         | Invalid values (5-byte encoding)
29 17 Davide Pesavento
30
## References
31
32
https://named-data.net/doc/NDN-packet-spec/current/name.html