Module bp7::bundle[][src]

Structs

Bundle

Bundle represents a bundle as defined in section 4.2.1. Each Bundle contains one primary block and multiple canonical blocks.

BundleBuilder

Builder for Bundle.

Enums

Bp7Error
BundleBuilderError

Error type for BundleBuilder

Constants

BLOCK_CFRESERVED_FIELDS
BLOCK_DELETE_BUNDLE

Bundle must be deleted if this block can’t be processed.

BLOCK_REMOVE

Block must be removed from the bundle if it can’t be processed.

BLOCK_REPLICATE

This block must be replicated in every fragment.

BLOCK_STATUS_REPORT

Transmission of a status report is requested if this block can’t be processed.

BUNDLE_ADMINISTRATIVE_RECORD_PAYLOAD

The bundle’s payload is an administrative record.

BUNDLE_CFRESERVED_FIELDS
BUNDLE_IS_FRAGMENT

The bundle is a fragment.

BUNDLE_MUST_NOT_FRAGMENTED

The bundle must not be fragmented.

BUNDLE_REQUEST_STATUS_TIME

Status time is requested in all status reports.

BUNDLE_REQUEST_USER_APPLICATION_ACK

Acknowledgment by the user application is requested.

BUNDLE_STATUS_REQUEST_DELETION

Request reporting of bundle deletion.

BUNDLE_STATUS_REQUEST_DELIVERY

Request reporting of bundle delivery.

BUNDLE_STATUS_REQUEST_FORWARD

Request reporting of bundle forwarding.

BUNDLE_STATUS_REQUEST_RECEPTION

Request reporting of bundle reception.

DTN_VERSION

Version for upcoming bundle protocol standard is 7.

Traits

Block
BlockValidation
BundleValidation

Functions

new_std_payload_bundle

Creates a new bundle with the given endpoints, a hop count block and a payload block. CRC is set to CrcNo by default and the lifetime is set to 60 * 60 seconds.

Type Definitions

BlockControlFlags
Bp7ErrorList
BundleControlFlags
ByteBuffer
CanonicalBlockNumberType
DtnVersionType
FragOffsetType
TotalDataLengthType