|
ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
|
TLV Type number definitions. More...
Variables | |
Packet types | |
| constexpr uint32_t | Interest = 0x05 |
| Interest packet. | |
| constexpr uint32_t | Data = 0x06 |
| Data packet. | |
Common fields | |
| constexpr uint32_t | Name = 0x07 |
| Name. | |
Name components | |
| constexpr uint32_t | GenericNameComponent = 0x08 |
| Generic Name component. | |
| constexpr uint32_t | ImplicitSha256Digest = 0x01 |
| Implicit SHA-256 digest. | |
| constexpr uint32_t | ParametersSha256Digest = 0x02 |
| Parameters SHA-256 digest. | |
Interest packet fields | |
| constexpr uint32_t | CanBePrefix = 0x21 |
| CanBePrefix flag. | |
| constexpr uint32_t | MustBeFresh = 0x12 |
| MustBeFresh flag. | |
| constexpr uint32_t | ForwardingHint = 0x1e |
| Forwarding hint. | |
| constexpr uint32_t | Nonce = 0x0a |
| Nonce (for loop detection) | |
| constexpr uint32_t | InterestLifetime = 0x0c |
| Interest lifetime. | |
| constexpr uint32_t | HopLimit = 0x22 |
| Hop limit. | |
| constexpr uint32_t | ApplicationParameters = 0x24 |
| Application parameters. | |
Data packet fields | |
| constexpr uint32_t | MetaInfo = 0x14 |
| Meta information. | |
| constexpr uint32_t | Content = 0x15 |
| Content. | |
| constexpr uint32_t | SignatureInfo = 0x16 |
| Signature info. | |
| constexpr uint32_t | SignatureValue = 0x17 |
| Signature value. | |
MetaInfo fields | |
| constexpr uint32_t | ContentType = 0x18 |
| Content type. | |
| constexpr uint32_t | FreshnessPeriod = 0x19 |
| Freshness period. | |
| constexpr uint32_t | FinalBlockId = 0x1a |
| Final block ID. | |
SignatureInfo sub-fields | |
| constexpr uint32_t | SignatureType = 0x1b |
| Signature type. | |
| constexpr uint32_t | KeyLocator = 0x1c |
| Key locator. | |
| constexpr uint32_t | KeyDigest = 0x1d |
| Key digest. | |
Interest signature fields (for future use) | |
| constexpr uint32_t | SignatureNonce = 0x26 |
| Signature nonce. | |
| constexpr uint32_t | SignatureTime = 0x28 |
| Signature timestamp. | |
| constexpr uint32_t | SignatureSeqNum = 0x2a |
| Signature sequence number. | |
| constexpr uint32_t | InterestSignatureInfo = 0x2c |
| Interest signature info. | |
| constexpr uint32_t | InterestSignatureValue = 0x2e |
| Interest signature value. | |
Certificate-related fields | |
| constexpr uint32_t | ValidityPeriod = 0xfd |
| Validity period (253) | |
| constexpr uint32_t | NotBefore = 0xfe |
| Not before (254) | |
| constexpr uint32_t | NotAfter = 0xff |
| Not after (255) | |
TLV Type number definitions.
Standard TLV Type numbers used in NDN packets.
Application parameters.
Definition at line 54 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
CanBePrefix flag.
Definition at line 48 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Data packet.
Definition at line 28 of file tlv.hpp.
Referenced by ndn::Certificate::encode(), ndn::Data::encode(), and ndn::Data::fromWire().
Forwarding hint.
Definition at line 50 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Hop limit.
Definition at line 53 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Interest packet.
Definition at line 27 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Interest lifetime.
Definition at line 52 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Interest signature info.
Definition at line 88 of file tlv.hpp.
Referenced by ndn::Interest::fromWire().
Interest signature value.
Definition at line 89 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
MustBeFresh flag.
Definition at line 49 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Name.
Definition at line 34 of file tlv.hpp.
Referenced by ndn::Name::encode(), ndn::Data::fromWire(), ndn::Interest::fromWire(), and ndn::Name::fromWire().
Nonce (for loop detection)
Definition at line 51 of file tlv.hpp.
Referenced by ndn::Interest::encode(), and ndn::Interest::fromWire().
Not after (255)
Definition at line 97 of file tlv.hpp.
Referenced by ndn::ValidityPeriod::encode(), and ndn::ValidityPeriod::fromWire().
Not before (254)
Definition at line 96 of file tlv.hpp.
Referenced by ndn::ValidityPeriod::encode(), and ndn::ValidityPeriod::fromWire().
Signature value.
Definition at line 63 of file tlv.hpp.
Referenced by ndn::Certificate::encode(), ndn::Data::encode(), and ndn::Data::fromWire().
Validity period (253)
Definition at line 95 of file tlv.hpp.
Referenced by ndn::ValidityPeriod::encode(), and ndn::ValidityPeriod::fromWire().