Sophie

Sophie

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

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::RIBEntry 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_1RIBEntry.html">RIBEntry</a>
  </div>
</div>
<div class="contents">
<h1>prophet::RIBTLV::RIBEntry Struct Reference</h1><!-- doxytag: class="prophet::RIBTLV::RIBEntry" --><code>#include &lt;<a class="el" href="RIBTLV_8h-source.html">RIBTLV.h</a>&gt;</code>
<p>

<p>
<a href="structprophet_1_1RIBTLV_1_1RIBEntry-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Routing Information Base entry p. 
<p>
28, 4.4.4 
<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00082">82</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_int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1RIBTLV_1_1RIBEntry.html#7521098eefb09a6099cb5e1e1a9b5356">string_id</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ID string as predefined in the dictionary TLV.  <a href="#7521098eefb09a6099cb5e1e1a9b5356"></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_1RIBEntry.html#6b72ac726e31d42156efa6968cdfb70a">pvalue</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delivery predictability for the destination of this entry as calculated according to the equations in Section 2.1.1.  <a href="#6b72ac726e31d42156efa6968cdfb70a"></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_1RIBEntry.html#71cb4f0bca421d9bf51e25ef93c84780">flags</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The encoding of the RIB flag field is<br>
 <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="#71cb4f0bca421d9bf51e25ef93c84780"></a><br></td></tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="7521098eefb09a6099cb5e1e1a9b5356"></a><!-- doxytag: member="prophet::RIBTLV::RIBEntry::string_id" ref="7521098eefb09a6099cb5e1e1a9b5356" 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_1RIBEntry.html#7521098eefb09a6099cb5e1e1a9b5356">prophet::RIBTLV::RIBEntry::string_id</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ID string as predefined in the dictionary TLV. 
<p>

<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00086">86</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#l00130">prophet::RIBTLV::read_rib_entry()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00105">prophet::RIBTLV::write_rib_entry()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6b72ac726e31d42156efa6968cdfb70a"></a><!-- doxytag: member="prophet::RIBTLV::RIBEntry::pvalue" ref="6b72ac726e31d42156efa6968cdfb70a" 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_1RIBEntry.html#6b72ac726e31d42156efa6968cdfb70a">prophet::RIBTLV::RIBEntry::pvalue</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delivery predictability for the destination of this entry as calculated according to the equations in Section 2.1.1. 
<p>
The encoding of this field is a linear mapping from [0,1] to [0, 0xFF]. 
<p>Definition at line <a class="el" href="RIBTLV_8h-source.html#l00093">93</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#l00130">prophet::RIBTLV::read_rib_entry()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00105">prophet::RIBTLV::write_rib_entry()</a>.</p>

</div>
</div><p>
<a class="anchor" name="71cb4f0bca421d9bf51e25ef93c84780"></a><!-- doxytag: member="prophet::RIBTLV::RIBEntry::flags" ref="71cb4f0bca421d9bf51e25ef93c84780" 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_1RIBEntry.html#71cb4f0bca421d9bf51e25ef93c84780">prophet::RIBTLV::RIBEntry::flags</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The encoding of the RIB flag field is<br>
 <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#l00106">106</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#l00130">prophet::RIBTLV::read_rib_entry()</a>, and <a class="el" href="RIBTLV_8cc-source.html#l00105">prophet::RIBTLV::write_rib_entry()</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>