📄 wvnetlib.html
字号:
</blockquote><h1>wvNetEventEnable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetEventEnable( )</strong> - activate specific network events</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS wvNetEventEnable ( int priority, /* priority level of event */ int offset /* identifier within priority level */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine allows reporting of a single event within the priority equal to <i>level</i>. The activation is overridden if the setting for the entire priority level changes. 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>Offset values for individual events are listed in the documentation.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR for unknown event.<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="wvNetEventDisable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetEventDisable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetEventDisable( )</strong> - deactivate specific network events</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS wvNetEventDisable ( int priority, /* priority level of event */ int offset /* identifier within priority level */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prevents reporting of a single event within the priority equal to <i>level</i>. The activation is overridden if the setting for the entire priority level changes. 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>Offset values for individual events are listed in the documentation.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR for unknown event.<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="wvNetAddressFilterSet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetAddressFilterSet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetAddressFilterSet( )</strong> - specify an address filter for events</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS wvNetAddressFilterSet ( char * pAddress, /* target address for event comparisons */ char * pMask, /* mask value applied to data fields */ int type, /* 0 for source, 1 for destination */ int direction /* 0 for input, 1 for output */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine activates an additional test that disables certain eventsthat do not match the specified IP address. The <i>pAddress</i> parameterprovides the test value in dotted-decimal format. The <i>type</i> parameterindicates whether that address is compared against the source ordestination values, and the <i>direction</i> value identifies whether the <i>type</i> is interpreted from the perspective of incoming or outgoing traffic.The <i>pMask</i> parameter provides a network mask to support testing for agroup of events.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK if filter set, or ERROR otherwise.<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="wvNetAddressFilterClear"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetAddressFilterClear( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetAddressFilterClear( )</strong> - remove the address filter for events</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void wvNetAddressFilterClear ( int type, /* 0 for source, 1 for destination */ int direction /* 0 for input, 1 for output */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine removes any active address filter test indicated bythe <i>type</i> and <i>direction</i> parameters used to enable it. Affectedevents will be reported unconditionally.<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="wvNetPortFilterSet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetPortFilterSet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetPortFilterSet( )</strong> - specify an address filter for events</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS wvNetPortFilterSet ( int port, /* target port for event comparisons */ int type, /* 0 for source, 1 for destination */ int direction /* 0 for input, 1 for output */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine activates an additional filter, which disables certain events that do not match the specified port value. The <i>port</i> parameter provides the test value and the <i>type</i> parameter indicates whether that value is compared against the source or destination fields. The <i>direction</i> setting identifies whether the <i>type</i> is interpreted from the perspective of incoming or outgoing traffic.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK if filter set, or ERROR otherwise.<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="wvNetPortFilterClear"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>wvNetPortFilterClear( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wvNetPortFilterClear( )</strong> - remove the port number filter for events</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void wvNetPortFilterClear ( int type, /* 0 for source, 1 for destination */ int direction /* 0 for input, 1 for output */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine removes any active port filter test indicated bythe <i>type</i> and <i>direction</i> parameters used to enable it. Affectedevents will be reported unconditionally.<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></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -