⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpipsocket_1_1routeentry.html

📁 pwlib开发文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PIPSocket::RouteEntry class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>PIPSocket::RouteEntry Class Reference</h1><code>#include &lt;<a class="el" href="ipsock_8h-source.html">ipsock.h</a>&gt;</code><p><p>Inheritance diagram for PIPSocket::RouteEntry:<p><center><img src="classPIPSocket_1_1RouteEntry.png" usemap="#PIPSocket::RouteEntry_map" border="0" alt=""></center><map name="PIPSocket::RouteEntry_map"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,137,24"></map><a href="classPIPSocket_1_1RouteEntry-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 Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#a0">RouteEntry</a> (const <a class="el" href="classPIPSocket_1_1Address.html">Address</a> &amp;addr)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>create a route table entry from an IP address</em> <a href="#a0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPIPSocket_1_1Address.html">Address</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#a1">GetNetwork</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get the network address associated with the route table entry.</em> <a href="#a1"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPIPSocket_1_1Address.html">Address</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#a2">GetNetMask</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get the network address mask associated with the route table entry.</em> <a href="#a2"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPIPSocket_1_1Address.html">Address</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#a3">GetDestination</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get the default gateway address associated with the route table entry.</em> <a href="#a3"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#a4">GetInterface</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get the network address name associated with the route table entry.</em> <a href="#a4"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#a5">GetMetric</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get the network metric associated with the route table entry.</em> <a href="#a5"></a><em></em></font><br><br></td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPIPSocket_1_1Address.html">Address</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#n0">network</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPIPSocket_1_1Address.html">Address</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#n1">net_mask</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPIPSocket_1_1Address.html">Address</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#n2">destination</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#n3">interfaceName</a></td></tr><tr><td nowrap align=right valign=top>long&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#n4">metric</a></td></tr><tr><td colspan=2><br><h2>Friends</h2></td></tr><tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classPIPSocket_1_1RouteEntry.html#l0">PIPSocket</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Describes a route table entry <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PIPSocket::RouteEntry::RouteEntry"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PIPSocket::RouteEntry::RouteEntry </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPIPSocket_1_1Address.html">Address</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>addr</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>create a route table entry from an IP address<p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a3" doxytag="PIPSocket::RouteEntry::GetDestination"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIPSocket_1_1Address.html">Address</a> PIPSocket::RouteEntry::GetDestination </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the default gateway address associated with the route table entry.<p>    </td>  </tr></table><a name="a4" doxytag="PIPSocket::RouteEntry::GetInterface"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const <a class="el" href="classPString.html">PString</a>&amp; PIPSocket::RouteEntry::GetInterface </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the network address name associated with the route table entry.<p>    </td>  </tr></table><a name="a5" doxytag="PIPSocket::RouteEntry::GetMetric"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> long PIPSocket::RouteEntry::GetMetric </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the network metric associated with the route table entry.<p>    </td>  </tr></table><a name="a2" doxytag="PIPSocket::RouteEntry::GetNetMask"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIPSocket_1_1Address.html">Address</a> PIPSocket::RouteEntry::GetNetMask </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the network address mask associated with the route table entry.<p>    </td>  </tr></table><a name="a1" doxytag="PIPSocket::RouteEntry::GetNetwork"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIPSocket_1_1Address.html">Address</a> PIPSocket::RouteEntry::GetNetwork </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the network address associated with the route table entry.<p>    </td>  </tr></table><hr><h2>Friends And Related Function Documentation</h2><a name="l0" doxytag="PIPSocket::RouteEntry::PIPSocket"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> friend class PIPSocket<code> [friend]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n2" doxytag="PIPSocket::RouteEntry::destination"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIPSocket_1_1Address.html">Address</a> PIPSocket::RouteEntry::destination<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n3" doxytag="PIPSocket::RouteEntry::interfaceName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PIPSocket::RouteEntry::interfaceName<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n4" doxytag="PIPSocket::RouteEntry::metric"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> long PIPSocket::RouteEntry::metric<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n1" doxytag="PIPSocket::RouteEntry::net_mask"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIPSocket_1_1Address.html">Address</a> PIPSocket::RouteEntry::net_mask<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n0" doxytag="PIPSocket::RouteEntry::network"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIPSocket_1_1Address.html">Address</a> PIPSocket::RouteEntry::network<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="ipsock_8h-source.html">ipsock.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:17 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -