📄 netshow.html
字号:
<hr><a name="netShowInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>netShowInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>netShowInit</i>( )</strong> - initialize network show routines</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void netShowInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine links the network show facility into the VxWorks system.These routines are included automatically if <b>INCLUDE_NET_SHOW</b>is defined in <b>configAll.h</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b><hr><a name="arpShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>arpShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>arpShow</i>( )</strong> - display entries in the system ARP table</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void arpShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the current Internet-to-Ethernet address mappings in the ARP table.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre> -> arpShow LINK LEVEL ARP TABLE destination gateway flags Refcnt Use Interface ----------------------------------------------------------------------- 90.0.0.63 08:00:3e:23:79:e7 405 0 82 lo0 -----------------------------------------------------------------------</pre></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b><hr><a name="arptabShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>arptabShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>arptabShow</i>( )</strong> - display the known ARP entries</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void arptabShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays current Internet-to-Ethernet address mappings in theARP table.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b><hr><a name="routestatShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>routestatShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>routestatShow</i>( )</strong> - display routing statistics</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void routestatShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays routing statistics.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b><hr><a name="routeShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>routeShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>routeShow</i>( )</strong> - display host and network routing tables</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void routeShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the current routing information contained in the routing table.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre> -> routeShow ROUTE NET TABLE destination gateway flags Refcnt Use Interface ------------------------------------------------------------------ 90.0.0.0 90.0.0.63 1 1 142 enp0 ------------------------------------------------------------------ ROUTE HOST TABLE destination gateway flags Refcnt Use Interface ------------------------------------------------------------------ 127.0.0.1 127.0.0.1 5 0 82 lo0 ------------------------------------------------------------------</pre>The flags field represents a decimal value of the flags specifiedfor a given route. The following is a list of currently availableflag values:<p><table><tr valign=top><td align=left> 0x1 </td><td align=left> - route is usable (that is, "up")</tr><tr valign=top><td align=left> 0x2 </td><td align=left> - destination is a gateway</tr><tr valign=top><td align=left> 0x4 </td><td align=left> - host specific routing entry</tr><tr valign=top><td align=left> 0x8 </td><td align=left> - host or net unreachable</tr><tr valign=top><td align=left> 0x10 </td><td align=left> - created dynamically (by redirect)</tr><tr valign=top><td align=left> 0x20 </td><td align=left> - modified dynamically (by redirect)</tr><tr valign=top><td align=left> 0x40 </td><td align=left> - message confirmed</tr><tr valign=top><td align=left> 0x80 </td><td align=left> - subnet mask present</tr><tr valign=top><td align=left> 0x100 </td><td align=left> - generate new routes on use</tr><tr valign=top><td align=left> 0x200 </td><td align=left> - external daemon resolves name</tr><tr valign=top><td align=left> 0x400 </td><td align=left> - generated by ARP</tr><tr valign=top><td align=left> 0x800 </td><td align=left> - manually added (static)</tr><tr valign=top><td align=left> 0x1000 </td><td align=left> - just discard packets (during updates)</tr><tr valign=top><td align=left> 0x2000 </td><td align=left> - modified by management protocol</tr><tr valign=top><td align=left> 0x4000 </td><td align=left> - protocol specific routing flag</tr><tr valign=top><td align=left> 0x8000 </td><td align=left> - protocol specific routing flag</tr><tr valign=top><td align=left></tr></tr></table>In the above display example, the entry in the ROUTE NET TABLE has a flag value of 1, which indicates that this route is "up" and usable and network specific (the 0x4 bit is turned off). The entry in the ROUTE HOST TABLE has a flag value of 5 (0x1 OR'ed with 0x4), which indicates that this route is "up" and usable and host-specific.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b><hr><a name="hostShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>hostShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>hostShow</i>( )</strong> - display the host table</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void hostShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints a list of remote hosts, along with their Internetaddresses and aliases.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b>, <b><i><a href="./hostLib.html#hostAdd">hostAdd</a></i>( )</b><hr><a name="mRouteShow"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>mRouteShow</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>mRouteShow</i>( )</strong> - print the entries of the routing table </p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void mRouteShow ( )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints the route entries in the routing table.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./netShow.html#top">netShow</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -