Bundle Offer/Response Header
p.
More...
#include <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__ |
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.
TBD.
Definition at line 51 of file BundleTLV.h.
Referenced by prophet::ResponseTLV::deserialize(), prophet::OfferTLV::deserialize(), prophet::ResponseTLV::serialize(), and prophet::OfferTLV::serialize().
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().
Number of bundle offer entries.
Definition at line 60 of file BundleTLV.h.
Referenced by prophet::ResponseTLV::deserialize(), prophet::OfferTLV::deserialize(), prophet::ResponseTLV::serialize(), and prophet::OfferTLV::serialize().
defined as 0xA2
Definition at line 50 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.