Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 2160

libdtn-devel-2.6.0-2mdv2009.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>DTN Reference Implementation: prophet::BundleTLV::BundleTLV::BundleTLVHeader Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceprophet.html">prophet</a>::<a class="el" href="classprophet_1_1BundleTLV.html">BundleTLV</a>::<a class="el" href="structprophet_1_1BundleTLV_1_1BundleTLVHeader.html">BundleTLVHeader</a>
  </div>
</div>
<div class="contents">
<h1>prophet::BundleTLV::BundleTLV::BundleTLVHeader Struct Reference</h1><!-- doxytag: class="prophet::BundleTLV::BundleTLVHeader" --><a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> Offer/Response Header<br>
 p.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>&gt;</code>
<p>

<p>
<a href="structprophet_1_1BundleTLV_1_1BundleTLVHeader-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1BundleTLV_1_1BundleTLVHeader.html#83ceb3125a38cddbc859463ebd12cbe1">type</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">defined as 0xA2  <a href="#83ceb3125a38cddbc859463ebd12cbe1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1BundleTLV_1_1BundleTLVHeader.html#700b11136c08d66b3a4132fc7e22e6e6">flags</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TBD.  <a href="#700b11136c08d66b3a4132fc7e22e6e6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1BundleTLV_1_1BundleTLVHeader.html#eeff4bf7749c53b5210337567549c659">length</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the TLV in octets, including the TLV header and any nested TLVs.  <a href="#eeff4bf7749c53b5210337567549c659"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1BundleTLV_1_1BundleTLVHeader.html#3caebac83135faee423f6a09ade8c776">offer_count</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of bundle offer entries.  <a href="#3caebac83135faee423f6a09ade8c776"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">u_int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1BundleTLV_1_1BundleTLVHeader.html#955d4889176aa218ebf4fb2d9a96cb1c">unused__</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> Offer/Response Header<br>
 p. 
<p>
30, 4.4.5<br>
 <br>
 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 <a class="el" href="classprophet_1_1Bundle.html" title="Facade interface between Prophet router and host implmentation&#39;s Bundle representation...">Bundle</a> 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. <br>
<br>
 The Response message is identical to the request message with the exception that the flag indicate acceptance of the bundle. 
<p>Definition at line <a class="el" href="BundleTLV_8h-source.html#l00049">49</a> of file <a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>.</p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="700b11136c08d66b3a4132fc7e22e6e6"></a><!-- doxytag: member="prophet::BundleTLV::BundleTLVHeader::flags" ref="700b11136c08d66b3a4132fc7e22e6e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int8_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::flags          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
TBD. 
<p>

<p>Definition at line <a class="el" href="BundleTLV_8h-source.html#l00051">51</a> of file <a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00080">prophet::ResponseTLV::deserialize()</a>, <a class="el" href="OfferTLV_8cc-source.html#l00080">prophet::OfferTLV::deserialize()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="eeff4bf7749c53b5210337567549c659"></a><!-- doxytag: member="prophet::BundleTLV::BundleTLVHeader::length" ref="eeff4bf7749c53b5210337567549c659" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::length          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Definition at line <a class="el" href="BundleTLV_8h-source.html#l00056">56</a> of file <a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00080">prophet::ResponseTLV::deserialize()</a>, <a class="el" href="OfferTLV_8cc-source.html#l00080">prophet::OfferTLV::deserialize()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3caebac83135faee423f6a09ade8c776"></a><!-- doxytag: member="prophet::BundleTLV::BundleTLVHeader::offer_count" ref="3caebac83135faee423f6a09ade8c776" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::offer_count          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number of bundle offer entries. 
<p>

<p>Definition at line <a class="el" href="BundleTLV_8h-source.html#l00060">60</a> of file <a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00080">prophet::ResponseTLV::deserialize()</a>, <a class="el" href="OfferTLV_8cc-source.html#l00080">prophet::OfferTLV::deserialize()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="83ceb3125a38cddbc859463ebd12cbe1"></a><!-- doxytag: member="prophet::BundleTLV::BundleTLVHeader::type" ref="83ceb3125a38cddbc859463ebd12cbe1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int8_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::type          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
defined as 0xA2 
<p>

<p>Definition at line <a class="el" href="BundleTLV_8h-source.html#l00050">50</a> of file <a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>.</p>

<p>Referenced by <a class="el" href="ResponseTLV_8cc-source.html#l00080">prophet::ResponseTLV::deserialize()</a>, <a class="el" href="OfferTLV_8cc-source.html#l00080">prophet::OfferTLV::deserialize()</a>, <a class="el" href="ResponseTLV_8cc-source.html#l00031">prophet::ResponseTLV::serialize()</a>, and <a class="el" href="OfferTLV_8cc-source.html#l00031">prophet::OfferTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="955d4889176aa218ebf4fb2d9a96cb1c"></a><!-- doxytag: member="prophet::BundleTLV::BundleTLVHeader::unused__" ref="955d4889176aa218ebf4fb2d9a96cb1c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t prophet::BundleTLV::BundleTLV::BundleTLVHeader::unused__          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="BundleTLV_8h-source.html#l00061">61</a> of file <a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="BundleTLV_8h-source.html">BundleTLV.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:06 2009 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>