📄 wvnetlib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/wvNetLib.html - generated by refgen from wvNetLib.c --> <title> wvNetLib </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>wvNetLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetLib</strong> - WindView for Networking Interface Library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./wvNetLib.html#wvNetEnable">wvNetEnable</a>( )</b> - begin reporting network events to WindView<br><b><a href="./wvNetLib.html#wvNetDisable">wvNetDisable</a>( )</b> - end reporting of network events to WindView<br><b><a href="./wvNetLib.html#wvNetLevelAdd">wvNetLevelAdd</a>( )</b> - enable network events with specific priority level<br><b><a href="./wvNetLib.html#wvNetLevelRemove">wvNetLevelRemove</a>( )</b> - disable network events with specific priority level<br><b><a href="./wvNetLib.html#wvNetEventEnable">wvNetEventEnable</a>( )</b> - activate specific network events<br><b><a href="./wvNetLib.html#wvNetEventDisable">wvNetEventDisable</a>( )</b> - deactivate specific network events<br><b><a href="./wvNetLib.html#wvNetAddressFilterSet">wvNetAddressFilterSet</a>( )</b> - specify an address filter for events<br><b><a href="./wvNetLib.html#wvNetAddressFilterClear">wvNetAddressFilterClear</a>( )</b> - remove the address filter for events<br><b><a href="./wvNetLib.html#wvNetPortFilterSet">wvNetPortFilterSet</a>( )</b> - specify an address filter for events<br><b><a href="./wvNetLib.html#wvNetPortFilterClear">wvNetPortFilterClear</a>( )</b> - remove the port number filter for events<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides the user interface to the network-related eventsfor the WindView system visualization tool. These events are divided intotwo WindView classes. The <b>NET_CORE_EVENT</b> class indicates events directlyrelated to data transfer. All other events (such as memory allocation andAPI routines) use the <b>NET_AUX_EVENT</b> class. Within each class, events areassigned one of eight priority levels. The four highest priority levels (EMERGENCY, ALERT, CRITICAL, and ERROR) indicate the occurrence of errors and the remaining four (WARNING, NOTICE, INFO, and VERBOSE) provide progressively more detailed information about the internal processing in the network stack. <p></blockquote><h4>USER INTERFACE</h4><blockquote><p>If WindView support is included, the <b>wvNetStart( )</b> and <b>wvNetStop( )</b> routines will enable and disable event reporting for the network stack. The startroutine takes a single parameter specifying the minimum priority level forall network components. That setting may be modified with the <b><a href="./wvNetLib.html#wvNetLevelAdd">wvNetLevelAdd</a>( )</b> and <b><a href="./wvNetLib.html#wvNetLevelRemove">wvNetLevelRemove</a>( )</b> routines. Individual events may be included or removedwith the <b><a href="./wvNetLib.html#wvNetEventEnable">wvNetEventEnable</a>( )</b> and <b><a href="./wvNetLib.html#wvNetDisable">wvNetDisable</a>( )</b> routines.<p>The <b><a href="./wvNetLib.html#wvNetAddressFilterSet">wvNetAddressFilterSet</a>( )</b> and <b><a href="./wvNetLib.html#wvNetPortFilterSet">wvNetPortFilterSet</a>( )</b> routines provide further screening for some events.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><p></blockquote><h4>SEE ALSO</h4><blockquote><p><p><i>WindView for Tornado User's Guide </i><hr><a name="wvNetEnable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetEnable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetEnable( )</strong> - begin reporting network events to WindView</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void wvNetEnable ( int priority /* minimum priority, or 0 for default of */ /* WV_NET_VERBOSE */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine activates WindView event reporting for network components,after disabling all events with a priority less than <i>level</i>. Thedefault value (or a <i>level</i> of <b>WV_NET_VERBOSE</b>) will not disableany additional events. The available priority values are:<p> <b>WV_NET_EMERGENCY</b> (1)<br> <b>WV_NET_ALERT</b> (2)<br> <b>WV_NET_CRITICAL</b> (3)<br> <b>WV_NET_ERROR</b> (4)<br> <b>WV_NET_WARNING</b> (5)<br> <b>WV_NET_NOTICE</b> (6)<br> <b>WV_NET_INFO</b> (7)<br> <b>WV_NET_VERBOSE</b> (8)<p>If an event is not explicitly disabled by the priority level, it uses the current event selection map and class settings. The initial values enableall events of both classes. <p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>ERRNO</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvNetLib.html#top">wvNetLib</a></b><hr><a name="wvNetDisable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetDisable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetDisable( )</strong> - end reporting of network events to WindView</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void wvNetDisable (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine stops WindView event reporting for all network components.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>ERRNO</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvNetLib.html#top">wvNetLib</a></b><hr><a name="wvNetLevelAdd"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetLevelAdd( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetLevelAdd( )</strong> - enable network events with specific priority level</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS wvNetLevelAdd ( int priority /* priority level to enable */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine changes the event selection map to allow reporting of any events with priority equal to <i>level</i>. It will override current event selections for the given priority, but has no effect on settings for events with higher or lower priorities. The available priority values are:<p> <b>WV_NET_EMERGENCY</b> (1)<br> <b>WV_NET_ALERT</b> (2)<br> <b>WV_NET_CRITICAL</b> (3)<br> <b>WV_NET_ERROR</b> (4)<br> <b>WV_NET_WARNING</b> (5)<br> <b>WV_NET_NOTICE</b> (6)<br> <b>WV_NET_INFO</b> (7)<br> <b>WV_NET_VERBOSE</b> (8)<p>Events are only reported based on the current WindView class setting. The initial (default) setting includes networking events from both classes.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR for unknown event level.<p></blockquote><h4>ERRNO</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvNetLib.html#top">wvNetLib</a></b><hr><a name="wvNetLevelRemove"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetLevelRemove( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetLevelRemove( )</strong> - disable network events with specific priority level</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS wvNetLevelRemove ( int priority /* priority level to disable */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine changes the event selection map to prevent reporting of any events with priority equal to <i>level</i>. It will override the current event selection for the given priority, but has no effect on settings for events with higher or lower priorities. The available priority values are:<p> <b>WV_NET_EMERGENCY</b> (1)<br> <b>WV_NET_ALERT</b> (2)<br> <b>WV_NET_CRITICAL</b> (3)<br> <b>WV_NET_ERROR</b> (4)<br> <b>WV_NET_WARNING</b> (5)<br> <b>WV_NET_NOTICE</b> (6)<br> <b>WV_NET_INFO</b> (7)<br> <b>WV_NET_VERBOSE</b> (8)<p>Events are only reported based on the current WindView class setting. Theinitial (default) setting includes networking events from both classes.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR for unknown event level.<p></blockquote><h4>ERRNO</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvNetLib.html#top">wvNetLib</a></b><hr><a name="wvNetEventEnable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -