Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > d9faa203c2b0b6fbb179d93daaea81b7 > files > 2182

libdtn-devel-2.6.0-1mdv2009.0.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::RIBTLV::RIBTLVHeader Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<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_1RIBTLV.html">RIBTLV</a>::<a class="el" href="structprophet_1_1RIBTLV_1_1RIBTLVHeader.html">RIBTLVHeader</a>
  </div>
</div>
<div class="contents">
<h1>prophet::RIBTLV::RIBTLVHeader Struct Reference</h1><!-- doxytag: class="prophet::RIBTLV::RIBTLVHeader" --><code>#include &lt;<a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>&gt;</code>
<p>

<p>
<a href="structprophet_1_1RIBTLV_1_1RIBTLVHeader-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Routing Information Base TLV <br>
 p. 
<p>
28, 4.4.4 <br>
 <br>
 The Routing Information Base lists the destinations a node knows of, and the delivery predictabilities it has associated with them. This information is needed by the PRoPHET algorithm to make decisions on routing and forwarding. 
<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00053">53</a> of file <a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>.</p>
<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_1RIBTLV_1_1RIBTLVHeader.html#da7064538f879d6de2b31707476593a5">type</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">defined as 0xA1  <a href="#da7064538f879d6de2b31707476593a5"></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_1RIBTLV_1_1RIBTLVHeader.html#b0b908b79fb35fee25be037b7980fd77">flags</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The encoding of the Header flag field relates to the capabilities of the Source node sending the RIB: <br>
 Flag 0: Relay <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a> 0b1 <br>
 Flag 1: Custody <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a> 0b1 <br>
 Flag 2: Internet GW <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a> 0b1 <br>
 Flag 3: Reserved 0b1 <br>
 Flag 4: Reserved 0b1 <br>
 Flag 5: Reserved 0b1 <br>
 Flag 6: Reserved 0b1 <br>
 Flag 7: Reserved 0b1 <br>
.  <a href="#b0b908b79fb35fee25be037b7980fd77"></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_1RIBTLV_1_1RIBTLVHeader.html#cf38fd00f6d7fb470fedf1559bcbf1f8">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="#cf38fd00f6d7fb470fedf1559bcbf1f8"></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_1RIBTLV_1_1RIBTLVHeader.html#6051a2edc79f469d22adf49df9586f7f">rib_string_count</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of routing entries in the TLV.  <a href="#6051a2edc79f469d22adf49df9586f7f"></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_1RIBTLV_1_1RIBTLVHeader.html#e4b6a5651fe158fce498f23e907da027">unused__</a></td></tr>

</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="da7064538f879d6de2b31707476593a5"></a><!-- doxytag: member="prophet::RIBTLV::RIBTLVHeader::type" ref="da7064538f879d6de2b31707476593a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int8_t <a class="el" href="structprophet_1_1RIBTLV_1_1RIBTLVHeader.html#da7064538f879d6de2b31707476593a5">prophet::RIBTLV::RIBTLVHeader::type</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
defined as 0xA1 
<p>

<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00054">54</a> of file <a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>.</p>

<p>Referenced by <a class="el" href="RIBTLV_8cc-source.html#l00153">prophet::RIBTLV::deserialize()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00040">prophet::RIBTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b0b908b79fb35fee25be037b7980fd77"></a><!-- doxytag: member="prophet::RIBTLV::RIBTLVHeader::flags" ref="b0b908b79fb35fee25be037b7980fd77" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int8_t <a class="el" href="structprophet_1_1RIBTLV_1_1RIBTLVHeader.html#b0b908b79fb35fee25be037b7980fd77">prophet::RIBTLV::RIBTLVHeader::flags</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The encoding of the Header flag field relates to the capabilities of the Source node sending the RIB: <br>
 Flag 0: Relay <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a> 0b1 <br>
 Flag 1: Custody <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a> 0b1 <br>
 Flag 2: Internet GW <a class="el" href="classprophet_1_1Node.html" title="Node represents a route to another Prophet node, and as such, tracks destination...">Node</a> 0b1 <br>
 Flag 3: Reserved 0b1 <br>
 Flag 4: Reserved 0b1 <br>
 Flag 5: Reserved 0b1 <br>
 Flag 6: Reserved 0b1 <br>
 Flag 7: Reserved 0b1 <br>
. 
<p>

<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00068">68</a> of file <a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>.</p>

<p>Referenced by <a class="el" href="RIBTLV_8cc-source.html#l00153">prophet::RIBTLV::deserialize()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00040">prophet::RIBTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cf38fd00f6d7fb470fedf1559bcbf1f8"></a><!-- doxytag: member="prophet::RIBTLV::RIBTLVHeader::length" ref="cf38fd00f6d7fb470fedf1559bcbf1f8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t <a class="el" href="structprophet_1_1RIBTLV_1_1RIBTLVHeader.html#cf38fd00f6d7fb470fedf1559bcbf1f8">prophet::RIBTLV::RIBTLVHeader::length</a>          </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="RIBTLV_8h-source.html#l00073">73</a> of file <a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>.</p>

<p>Referenced by <a class="el" href="RIBTLV_8cc-source.html#l00153">prophet::RIBTLV::deserialize()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00040">prophet::RIBTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6051a2edc79f469d22adf49df9586f7f"></a><!-- doxytag: member="prophet::RIBTLV::RIBTLVHeader::rib_string_count" ref="6051a2edc79f469d22adf49df9586f7f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t <a class="el" href="structprophet_1_1RIBTLV_1_1RIBTLVHeader.html#6051a2edc79f469d22adf49df9586f7f">prophet::RIBTLV::RIBTLVHeader::rib_string_count</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number of routing entries in the TLV. 
<p>

<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00074">74</a> of file <a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>.</p>

<p>Referenced by <a class="el" href="RIBTLV_8cc-source.html#l00153">prophet::RIBTLV::deserialize()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00040">prophet::RIBTLV::serialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e4b6a5651fe158fce498f23e907da027"></a><!-- doxytag: member="prophet::RIBTLV::RIBTLVHeader::unused__" ref="e4b6a5651fe158fce498f23e907da027" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u_int16_t <a class="el" href="structprophet_1_1RIBTLV_1_1RIBTLVHeader.html#e4b6a5651fe158fce498f23e907da027">prophet::RIBTLV::RIBTLVHeader::unused__</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00075">75</a> of file <a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:56 2008 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.6 </small></address>
</body>
</html>