📄 snmp.refentries.toc8.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>snmpdLib SNMP Reference </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="snmp.refEntries.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="snmp.refEntries.TOC7.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC9.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h2 class="H1"><i><a name="83606"> snmpdLib </a></i></h2></font><h4 class="SH"><a name="83607"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="83608"><div class="aX"><b class="library">snmpdLib</b> - entry points to the SNMP v1/v2c agent </div></a></dl></dl><h4 class="SH"><a name="83609"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83610"> </a><b class="routine"><i class="routine">snmpdPktProcess</i></b><b>( )</b> - process a packet returned by the transport </p><dd><p class="Body"><a name="83611"> </a><b class="routine"><i class="routine">snmpdLog</i></b><b>( )</b> - log messgaes from the SNMP agent </p><dd><p class="Body"><a name="83612"> </a><b class="routine"><i class="routine">snmpdViewEntrySet</i></b><b>( )</b> - install an entry in the view table </p><dd><p class="Body"><a name="83613"> </a><b class="routine"><i class="routine">snmpdViewEntryRemove</i></b><b>( )</b> - remove an entry from the view table </p><dd><p class="Body"><a name="83614"> </a><b class="routine"><i class="routine">snmpdTreeAdd</i></b><b>( )</b> - dynamically add a subtree to the SNMP agent MIB tree </p><dd><p class="Body"><a name="83615"> </a><b class="routine"><i class="routine">snmpdTreeRemove</i></b><b>( )</b> - dynamically remove part of the SNMP agent MIB tree </p><dd><p class="Body"><a name="83616"> </a><b class="routine"><i class="routine">snmpdTrapSend</i></b><b>( )</b> - general interface to trap facilities </p><dd><p class="Body"><a name="83617"> </a><b class="routine"><i class="routine">snmpdInitFinish</i></b><b>( )</b> - complete the initialization of the agent </p><dd><p class="Body"><a name="83618"> </a><b class="routine"><i class="routine">snmpdExit</i></b><b>( )</b> - exit the SNMP agent </p><dd><p class="Body"><a name="83619"> </a><b class="routine"><i class="routine">snmpdContinue</i></b><b>( )</b> - continue processing of an SNMP packet </p><dd><p class="Body"><a name="83620"> </a><b class="routine"><i class="routine">snmpdGroupByGetprocAndInstance</i></b><b>( )</b> - gather set of similar variable bindings </p><dd><p class="Body"><a name="83621"> </a><b class="routine"><i class="routine">snmpdVbRowExtract</i></b><b>( )</b> - extract required pieces of a row for a <b>set</b> operation </p><dd><p class="Body"><a name="83622"> </a><b class="routine"><i class="routine">snmpdVbExtractRowLoose</i></b><b>( )</b> - incrementally extract pieces of a row for a set </p><dd><p class="Body"><a name="83623"> </a><b class="routine"><i class="routine">snmpdPktLockGet</i></b><b>( )</b> - lock an SNMP packet </p></dl><dl class="margin"><dd><pre class="Code"><b><a name="83624">void snmpdPktProcess (int pktSize, char * pBuf, void * pRemoteAddr, void * pLocalAddr, void * pSnmpEndpoint) </a></b><dd> <b><a name="83625">void snmpdLog (int level, char * string) </a></b><dd> <b><a name="83626">STATUS snmpdViewEntrySet (OIDC_T * pTreeOid, int treeOidLen, UINT_16_T index, uchar_t * pMask, int maskLen, int viewType) </a></b><dd> <b><a name="83627">void snmpdViewEntryRemove (OIDC_T * pTreeOid, int treeOidLen, UINT_16_T index) </a></b><dd> <b><a name="83628">STATUS snmpdTreeAdd (char * pTreeOidStr, MIBNODE_T * pTreeAddr) </a></b><dd> <b><a name="83629">void snmpdTreeRemove (char * pTreeOidStr) </a></b><dd> <b><a name="83630">void snmpdTrapSend (void * pSnmpEndpoint, int numDestn, void ** ppDestAddrTbl, void * pLocalAddr, int version, char * pTrapCmnty, OIDC_T * pMyOid, int myOidLen, u_long * pIpAddr, int trapType, int trapSpecific, int numVarBinds, FUNCPTR trapVarBindsRtn, void * pCookie) </a></b><dd> <b><a name="83631">void snmpdInitFinish (VOIDFUNCPTR pPrivRlse, FUNCPTR pSetPduVldt, FUNCPTR pPreSet, FUNCPTR pPostSet, FUNCPTR pSetFailed) </a></b><dd> <b><a name="83632">void snmpdExit (void) </a></b><dd> <b><a name="83633">void snmpdContinue (SNMP_PKT_T * pktp); </a></b><dd> <b><a name="83634">void snmpdGroupByGetprocAndInstance (SNMP_PKT_T * pktp, VB_T * firstVbp, int compc, OIDC_T * compl); </a></b><dd> <b><a name="83635">VB_T * snmpdVbRowExtract (SNMP_PKT_T * pktp, int start_index, int compc, OIDC_T * compl, int row_structure_length, struct create_row * row); </a></b><dd> <b><a name="83636">VB_T * snmpdVbExtractRowLoose (SNMP_PKT_T * pktp, int indx, MIBLEAF_T ** leaves, int compc, OIDC_T * compl); </a></b><dd> <b><a name="83637">STATUS snmpdPktLockGet (SNMP_PKT_T * pktp) </a></b></pre></dl></dl><h4 class="SH"><a name="83638"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83639"> </a>This module implements the WindNet SNMPv1/v2c agent for VxWorks. This agent provides services for managing objects defined by the MIB-II standard. The agent management information base can be extended to include user-defined MIBs. The agent also provides support for asynchronous method routines and dynamic loading of MIBs. </p></dl></dl><h4 class="SH"><a name="83640"> </a>INCLUDE FILES </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83641"> </a><b>snmpdLib.h</b> </p></dl></dl><h4 class="SH"><a name="83642"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83643"> </a>The SNMP version 1 framework is defined by the following Request For Comments (RFCs): 1155, 1157, 1212. MIB-II is defined by RFC 1213. For more information about SNMP, refer to these documents. For more information about the VxWorks SNMP agent, see the <i class="i">WindNet SNMP VxWorks Component Release Supplement. </i> </p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="snmp.refEntries.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="snmp.refEntries.TOC7.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC9.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -