命名数据网络 | TLV 类型注册表
命名数据网络 | TLV 类型注册表
参考文档:https://docs.named-data.net/NDN-packet-spec/current/types.html
指定的数字
| 项目 | 分配数(十进制) | 分配数(十六进制) |
|---|---|---|
| Packet types | ||
| Interest | 5 | 0x05 |
| Data | 6 | 0x06 |
| Common fields | ||
| Name | 7 | 0x07 |
| Name components | ||
| GenericNameComponent | 8 | 0x08 |
| ImplicitSha256DigestComponent | 1 | 0x01 |
| ParametersSha256DigestComponent | 2 | 0x02 |
| KeywordNameComponent | 32(非关键) | 0x20 |
| SegmentNameComponent | 50(非关键) | 0x32 |
| ByteOffsetNameComponent | 52(非关键) | 0x34 |
| VersionNameComponent | 54(非关键) | 0x36 |
| TimestampNameComponent | 56(非关键) | 0x38 |
| SequenceNumNameComponent | 58(非关键) | 0x3a |
| Interest packet | ||
| CanBePrefix | 33 | 0x21 |
| MustBeFresh | 18 | 0x12 |
| ForwardingHint | 30 | 0x1e |
| Nonce | 10 | 0x0a |
| InterestLifetime | 12 | 0x0c |
| HopLimit | 34(非关键) | 0x22 |
| ApplicationParameters | 36(非关键) | 0x24 |
| InterestSignatureInfo | 44(非关键) | 0x2c |
| InterestSignatureValue | 46(非关键) | 0x2e |
| Data packet | ||
| MetaInfo | 20 | 0x14 |
| Content | 21 | 0x15 |
| Signaturelnfo | 22 | 0x16 |
| SignatureValue | 23 | 0x17 |
| Metalnfo | ||
| ContentType | 24 | 0x18 |
| FreshnessPeriod | 25 | 0x19 |
| FinalBlockld | 26 | 0x1a |
| Signature | ||
| SignatureType | 27 | 0x1b |
| KeyLocator | 28 | 0x1c |
| KeyDigest | 29 | 0x1d |
| SignatureNonce | 38(非关键) | 0x26 |
| SignatureTime | 40(非关键) | 0x28 |
| SignatureSeqNum | 42(非关键) | 0x2a |
| Certificate | ||
| ValidityPeriod | 253 | 0xfd |
| NotBefore | 254 | 0xfe |
| NotAfter | 255 | 0xff |
| AdditionalDescription | 258(非关键) | 0x0102 |
| DescriptionEntry | 512 | 0x0200 |
| DescriptionKey | 513 | 0x0201 |
| DescriptionValue | 514 | 0x0202 |
本规范的 ABNF 语法将元素 X 的 TLV-TYPE 表示为 X-TYPE。
例如,INTEREST-TYPE 表示 %x05,即以 VAR-NUMBER-1 格式编码的 Interest 包的 TLV-TYPE。
保留的范围
| 数字范围 | 指定 |
|---|---|
| 9 | 保留的,以前是 Selectors |
| 11 | 保留,以前是 Scope |
| 13 | 保留的,以前是 MinSuffixComponents |
| 14 | 保留的,以前是 MaxSuffixComponents |
| 15 | 保留的,以前是 PublisherPublicKeyLocator |
| 16 | 保留的,以前是 Exclude |
| 17 | 保留的,以前是 ChildSelector |
| 19 | 保留的,以前是 Any |
| 31 | 保留的,以前是 Delegation |
| 126 | 保留的,TLV 元素在处理过程中必须被忽略 |
| [80, 100] | 为与本地链路数据处理相关的分配保留,例如,NDNLP(1 字节编码) |
| [1, 127] 中的所有其他数字 | 为以后的赋值保留(1 字节编码) |
| [128, 252] | 供应用程序使用(1 字节编码) |
| [800, 1000] | 为与本地链路数据处理相关的分配保留,例如,NDNLP(3 字节编码)。 |
| [253, 32767] 中的所有其他数字 | 为以后的分配保留(3 字节编码) |
| >32767 | 供应用程序使用(3 字节或 5 字节编码) |

被折叠的 条评论
为什么被折叠?



