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

📄 m2icmplib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/m2IcmpLib.html - generated by refgen from m2IcmpLib.c --> <title> m2IcmpLib </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>m2IcmpLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>m2IcmpLib</strong> - MIB-II ICMP-group API for SNMP Agents </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./m2IcmpLib.html#m2IcmpInit">m2IcmpInit</a>(&nbsp;)</b>  -  initialize MIB-II ICMP-group access<br><b><a href="./m2IcmpLib.html#m2IcmpGroupInfoGet">m2IcmpGroupInfoGet</a>(&nbsp;)</b>  -  get the MIB-II ICMP-group global variables<br><b><a href="./m2IcmpLib.html#m2IcmpDelete">m2IcmpDelete</a>(&nbsp;)</b>  -  delete all resources used to access the ICMP group<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides MIB-II services for the ICMP group.  It provides routinesto initialize the group, and to access the group scalar variables. For abroader description of MIB-II services, see the manual entry for <b><a href="./m2Lib.html#top">m2Lib</a></b>.<p>To use this feature, include the following component:<b>INCLUDE_MIB2_ICMP</b><p></blockquote><h4>USING THIS LIBRARY</h4><blockquote><p>This library can be initialized and deleted by calling the routines<b><a href="./m2IcmpLib.html#m2IcmpInit">m2IcmpInit</a>(&nbsp;)</b> and <b><a href="./m2IcmpLib.html#m2IcmpDelete">m2IcmpDelete</a>(&nbsp;)</b> respectively, if only the ICMP group's servicesare needed.  If full MIB-II support is used, this group and all othergroups can be initialized and deleted by calling <b><a href="./m2Lib.html#m2Init">m2Init</a>(&nbsp;)</b> and<b><a href="./m2Lib.html#m2Delete">m2Delete</a>(&nbsp;)</b>.<p>The group scalar variables are accessed by calling<b><a href="./m2IcmpLib.html#m2IcmpGroupInfoGet">m2IcmpGroupInfoGet</a>(&nbsp;)</b> as follows:<pre>    M2_ICMP   icmpVars;    if (m2IcmpGroupInfoGet (&amp;icmpVars) == OK)        /* values in icmpVars are valid */</pre></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>m2Lib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><p><b><a href="./m2Lib.html#top">m2Lib</a></b>, <b><a href="./m2IfLib.html#top">m2IfLib</a></b>, <b><a href="./m2IpLib.html#top">m2IpLib</a></b>, <b><a href="./m2TcpLib.html#top">m2TcpLib</a></b>, <b><a href="./m2SysLib.html#top">m2SysLib</a></b><hr><a name="m2IcmpInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>m2IcmpInit(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>m2IcmpInit(&nbsp;)</strong> - initialize MIB-II ICMP-group access</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS m2IcmpInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine allocates the resources needed to allow access to the MIB-IIICMP-group variables.  This routine must be called before any ICMP variablescan be accessed.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m2IcmpLib.html#top">m2IcmpLib</a></b>, <b><a href="./m2IcmpLib.html#m2IcmpGroupInfoGet">m2IcmpGroupInfoGet</a>(&nbsp;)</b>, <b><a href="./m2IcmpLib.html#m2IcmpDelete">m2IcmpDelete</a>(&nbsp;)</b><hr><a name="m2IcmpGroupInfoGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>m2IcmpGroupInfoGet(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>m2IcmpGroupInfoGet(&nbsp;)</strong> - get the MIB-II ICMP-group global variables</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS m2IcmpGroupInfoGet    (    M2_ICMP * pIcmpInfo       /* pointer to the ICMP group structure */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine fills in the ICMP structure at <i>pIcmpInfo</i> with the MIB-II ICMP scalar variables.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the input parameter <i>pIcmpInfo</i> is invalid.<p></blockquote><h4>ERRNO</h4><blockquote><p><p><b>S_m2Lib_INVALID_PARAMETER</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m2IcmpLib.html#top">m2IcmpLib</a></b>, <b><a href="./m2IcmpLib.html#m2IcmpInit">m2IcmpInit</a>(&nbsp;)</b>, <b><a href="./m2IcmpLib.html#m2IcmpDelete">m2IcmpDelete</a>(&nbsp;)</b><hr><a name="m2IcmpDelete"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>m2IcmpDelete(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>m2IcmpDelete(&nbsp;)</strong> - delete all resources used to access the ICMP group</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS m2IcmpDelete (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine frees all the resources allocated at the time the ICMP group wasinitialized.  The ICMP group should not be accessed after this routine has been called.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./m2IcmpLib.html#top">m2IcmpLib</a></b>, <b><a href="./m2IcmpLib.html#m2IcmpInit">m2IcmpInit</a>(&nbsp;)</b>, <b><a href="./m2IcmpLib.html#m2IcmpGroupInfoGet">m2IcmpGroupInfoGet</a>(&nbsp;)</b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -