![]() |
ndn-lite
|
The structure to represent an NDN Data packet The best practice of using ndn_data_t is to first declare a ndn_data_t object and init each of its component to save memory. More...
#include <data.h>
Data Fields | |
ndn_name_t | name |
Data Name Value (not including T and L) More... | |
ndn_metainfo_t | metainfo |
Data MetaInfo Value (not including T and L) More... | |
uint8_t | content_value [NDN_CONTENT_BUFFER_SIZE] |
Data Content Value (not including T and L) More... | |
uint32_t | content_size |
Data MetaInfo Content Value Size. More... | |
ndn_signature_t | signature |
Data Signature. More... | |
The structure to represent an NDN Data packet The best practice of using ndn_data_t is to first declare a ndn_data_t object and init each of its component to save memory.
uint32_t ndn_data::content_size |
Data MetaInfo Content Value Size.
uint8_t ndn_data::content_value[NDN_CONTENT_BUFFER_SIZE] |
Data Content Value (not including T and L)
ndn_metainfo_t ndn_data::metainfo |
Data MetaInfo Value (not including T and L)
ndn_name_t ndn_data::name |
Data Name Value (not including T and L)
ndn_signature_t ndn_data::signature |
Data Signature.
This attribute should not be manually modified. Use ndn_data_tlv_encode_*_sign functions to generate signature.