BSL v0.0.0 - 0.g33cf081
AMMOS Bundle Protocol Security Library (BSL)
|
Contains Bundle Primary Block fields and metadata. More...
#include <BPSecLib_Public.h>
Data Fields | |
uint64_t | field_version |
CBOR-decoded field of Primary Block BP version. | |
uint64_t | field_flags |
CBOR-decoded field of bundle processing control flags. | |
uint64_t | field_crc_type |
CBOR-decoded field of Primary Block CRC type. | |
BSL_HostEID_t | field_dest_eid |
Destination in host BPA's internal representation of an EID. | |
BSL_HostEID_t | field_src_node_id |
Source in host BPA's internal representation of an EID. | |
BSL_HostEID_t | field_report_to_eid |
Report-to EID in host BPA's internal representation of an EID. | |
uint64_t | field_bundle_creation_time |
CBOR-decoded bundle creation time. | |
uint64_t | field_seq_num |
CBOR-decoded sequence number. | |
uint64_t | field_lifetime |
CBOR-decoded lifetime. | |
uint64_t | field_frag_offset |
CBOR-decoded fragment offset (warning, may not be implemented yet). | |
uint64_t | field_adu_length |
CBOR-decoded field of ADU length. | |
size_t | block_count |
Helpful count of total canonical blocks in bundle, not a field of the header. | |
uint64_t * | block_numbers |
Array of size block_count containing canonical block numbers in the same order in which they appear in the bundle. | |
BSL_Data_t | encoded |
The encoded form of the primary block as contiguous data. | |
Contains Bundle Primary Block fields and metadata.
Instances are initialized as part of BSL_BundleCtx_GetBundleMetadata(). Instances are de-initialized with BSL_PrimaryBlock_deinit().