prophet::BundleTLV::BundleTLV::BundleTLVHeader Struct Reference

Bundle Offer/Response Header
p. More...

#include <BundleTLV.h>

List of all members.

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__


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 49 of file BundleTLV.h.


Member Data Documentation

u_int8_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::flags

u_int16_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::length

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

Definition at line 56 of file BundleTLV.h.

Referenced by prophet::ResponseTLV::deserialize(), prophet::OfferTLV::deserialize(), prophet::ResponseTLV::serialize(), and prophet::OfferTLV::serialize().

u_int16_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::offer_count

u_int8_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::type

u_int16_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::unused__

Definition at line 61 of file BundleTLV.h.


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

Generated on Fri Jan 30 09:27:06 2009 for DTN Reference Implementation by  doxygen 1.5.8