prophet::BundleTLV::BundleTLVHeader Struct Reference

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

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().

Definition at line 61 of file BundleTLV.h.


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

Generated on Mon Jul 21 14:12:22 2008 for DTN Reference Implementation by  doxygen 1.5.6