BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_PrimaryBlock_s Struct Reference

Contains Bundle Primary Block fields and metadata. More...

#include <BPSecLib_Public.h>

+ Collaboration diagram for BSL_PrimaryBlock_s:

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.
 
uint8_t * cbor
 
size_t cbor_len
 

Detailed Description

Contains Bundle Primary Block fields and metadata.

Note
This contains a snapshot of the fields at the time it was queried. It is not a pointer.

Definition at line 123 of file BPSecLib_Public.h.

Field Documentation

◆ block_count

size_t BSL_PrimaryBlock_s::block_count

Helpful count of total canonical blocks in bundle, not a field of the header.

Definition at line 136 of file BPSecLib_Public.h.

Referenced by BSL_API_QuerySecurity().

◆ cbor

uint8_t* BSL_PrimaryBlock_s::cbor

Definition at line 137 of file BPSecLib_Public.h.

◆ cbor_len

size_t BSL_PrimaryBlock_s::cbor_len

Definition at line 138 of file BPSecLib_Public.h.

◆ field_adu_length

uint64_t BSL_PrimaryBlock_s::field_adu_length

CBOR-decoded field of ADU length.

Definition at line 135 of file BPSecLib_Public.h.

◆ field_bundle_creation_time

uint64_t BSL_PrimaryBlock_s::field_bundle_creation_time

CBOR-decoded bundle creation time.

Definition at line 131 of file BPSecLib_Public.h.

◆ field_crc_type

uint64_t BSL_PrimaryBlock_s::field_crc_type

CBOR-decoded field of Primary Block CRC type.

Definition at line 127 of file BPSecLib_Public.h.

◆ field_dest_eid

BSL_HostEID_t BSL_PrimaryBlock_s::field_dest_eid

Destination in host BPA's internal representation of an EID.

Definition at line 128 of file BPSecLib_Public.h.

Referenced by BSLP_PolicyRule_EvaluateAsSecOper(), and BSLP_QueryPolicy().

◆ field_flags

uint64_t BSL_PrimaryBlock_s::field_flags

CBOR-decoded field of bundle processing control flags.

Definition at line 126 of file BPSecLib_Public.h.

◆ field_frag_offset

uint64_t BSL_PrimaryBlock_s::field_frag_offset

CBOR-decoded fragment offset (warning, may not be implemented yet).

Definition at line 134 of file BPSecLib_Public.h.

◆ field_lifetime

uint64_t BSL_PrimaryBlock_s::field_lifetime

CBOR-decoded lifetime.

Definition at line 133 of file BPSecLib_Public.h.

◆ field_report_to_eid

BSL_HostEID_t BSL_PrimaryBlock_s::field_report_to_eid

Report-to EID in host BPA's internal representation of an EID.

Definition at line 130 of file BPSecLib_Public.h.

◆ field_seq_num

uint64_t BSL_PrimaryBlock_s::field_seq_num

CBOR-decoded sequence number.

Definition at line 132 of file BPSecLib_Public.h.

◆ field_src_node_id

BSL_HostEID_t BSL_PrimaryBlock_s::field_src_node_id

Source in host BPA's internal representation of an EID.

Definition at line 129 of file BPSecLib_Public.h.

Referenced by BSLP_PolicyRule_EvaluateAsSecOper(), and BSLP_QueryPolicy().

◆ field_version

uint64_t BSL_PrimaryBlock_s::field_version

CBOR-decoded field of Primary Block BP version.

Definition at line 125 of file BPSecLib_Public.h.


The documentation for this struct was generated from the following file: