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

📄 wvnetlib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</blockquote><h1>wvNetEventEnable(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvNetEventEnable(&nbsp;)</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>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_EMERGENCY</b>&nbsp;(1)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_ALERT</b>&nbsp;(2)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_CRITICAL</b>&nbsp;(3)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_ERROR</b>&nbsp;(4)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_WARNING</b>&nbsp;(5)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_NOTICE</b>&nbsp;(6)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_INFO</b>&nbsp;(7)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_VERBOSE</b>&nbsp;(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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvNetEventDisable(&nbsp;)</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>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_EMERGENCY</b>&nbsp;(1)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_ALERT</b>&nbsp;(2)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_CRITICAL</b>&nbsp;(3)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_ERROR</b>&nbsp;(4)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_WARNING</b>&nbsp;(5)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_NOTICE</b>&nbsp;(6)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_INFO</b>&nbsp;(7)<br>&nbsp;&nbsp;&nbsp;&nbsp;<b>WV_NET_VERBOSE</b>&nbsp;(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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvNetAddressFilterSet(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvNetAddressFilterClear(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvNetPortFilterSet(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvNetPortFilterClear(&nbsp;)</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 + -