📄 smnetshow.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/smNetShow.html - generated by refgen from /vobs/wpwr/target/src/drv/netif/smNetShow.c --> <title> smNetShow </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference : OS Libraries</i></a></p></blockquote><h1>smNetShow</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>smNetShow</strong> - shared memory network driver show routines </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./smNetShow.html#smNetShow">smNetShow</a>( )</b> - show information about a shared memory network<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides show routines for the shared memory network interface driver. <p>The <b><a href="./smNetShow.html#smNetShow">smNetShow</a>( )</b> routine is provided as a diagnostic aid to show currentshared memory network status.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>smNetLib.h</b>, <b>smPktLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./drv/if_sm.html#top" >if_sm</a></b>, <b><a href="./smNetLib.html#top">smNetLib</a></b>, <b>smPktLib</b>,<i>VxWorks Network Programmer's Guide</i><hr><a name="smNetShow"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>smNetShow( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>smNetShow( )</strong> - show information about a shared memory network</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS smNetShow ( char * ifName, /* backplane interface name (NULL == "sm0") */ BOOL zero /* TRUE = zap totals */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays information about the different CPUs configuredin a shared memory network specified by <i>ifName</i>. It prints error statistics and zeros these fields if <i>zero</i> is set to TRUE.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre> -> smNetShow Anchor at 0x800000 heartbeat = 705, header at 0x800010, free pkts = 237. cpu int type arg1 arg2 arg3 queued pkts --- -------- ---------- ---------- ---------- ----------- 0 poll 0x0 0x0 0x0 0 1 poll 0x0 0x0 0x0 0 2 bus-int 0x3 0xc9 0x0 0 3 mbox-2 0x2d 0x8000 0x0 0 input packets = 192 output packets = 164 output errors = 0 collisions = 0 value = 1 = 0x1</pre></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if there is a hardware setup problem or the routinecannot be initialized.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./smNetShow.html#top">smNetShow</a></b>, <b><a href="./smNetLib.html#top">smNetLib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -