dtn::Prophet::BundleOfferTLVHeader Struct Reference

#include <Prophet.h>

List of all members.


Detailed Description

Bundle Offer/Response Header
p.

30, 4.4.5

After the routing information has been passed, the node will ask the other node to review available bundles and determine which bundles it will accept for relay. The source relay will determine which bundles to offer based on relative delivery predictabilities as explained in Section 3.6. The Bundle Offer TLV also lists the bundles that a PRoPHET acknowledgement has been issued for. Those bundles have the PRoPHET ACK flag set in their entry in the list. When a node receives a PRoPHET ACK for a bundle, it MUST remove any copies of that bundle from its buffers, but SHOULD keep an entry of the acknowledged bundle to be able to further propagate the PRoPHET ACK.

The Response message is identical to the request message with the exception that the flag indicate acceptance of the bundle.

Definition at line 448 of file Prophet.h.

Public Attributes

u_int8_t type
 defined as 0xA2
u_int8_t flags
 TBD.
u_int16_t length
 Length of the TLV in octets, including the TLV header and any nested TLVs.
u_int16_t offer_count
 Number of bundle offer entries.
u_int16_t unused__


Member Data Documentation

u_int8_t dtn::Prophet::BundleOfferTLVHeader::type

defined as 0xA2

Definition at line 449 of file Prophet.h.

Referenced by dtn::BundleTLV::deserialize().

u_int8_t dtn::Prophet::BundleOfferTLVHeader::flags

TBD.

Definition at line 450 of file Prophet.h.

Referenced by dtn::BundleTLV::deserialize().

u_int16_t dtn::Prophet::BundleOfferTLVHeader::length

Length of the TLV in octets, including the TLV header and any nested TLVs.

Definition at line 455 of file Prophet.h.

Referenced by dtn::BundleTLV::deserialize().

u_int16_t dtn::Prophet::BundleOfferTLVHeader::offer_count

Number of bundle offer entries.

Definition at line 459 of file Prophet.h.

Referenced by dtn::BundleTLV::deserialize().

u_int16_t dtn::Prophet::BundleOfferTLVHeader::unused__

Definition at line 460 of file Prophet.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 7 16:56:58 2007 for DTN Reference Implementation by  doxygen 1.5.1