📄 snmp.refentries.toc95.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title><i class="i">snmpdVbExtractRowLoose</i>( ) 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.TOC94.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC96.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="84711"> <i class="i">snmpdVbExtractRowLoose</i>( ) </a></i></h2></font><h4 class="SH"><a name="84712"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="84713"><div class="aX"><b class="routine"><i class="routine">snmpdVbExtractRowLoose</i></b><b>( )</b> - incrementally extract pieces of a row for a set </div></a></dl></dl><h4 class="SH"><a name="84714"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="84715">VB_T * snmpdVbExtractRowLoose ( SNMP_PKT_T * pktp, /* snmp packet */ int indx, /* index */ MIBLEAF_T ** leaves, /* mib leaves */ int compc, /* component count */ OIDC_T * compl /* component length */ );</a></b></pre></dl></dl><h4 class="SH"><a name="84723"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84724"> </a>This routine assists in implementing row-creation <b>set</b> operations, especially in the case of <b>`dribble'</b> creation. In <b>`dribble'</b> creation, the network management station may choose to break the creation of a new entry in some table into multiple packets. Using multiple packets does not work with <b class="routine"><i class="routine">snmpdVbRowExtract</i></b><b>( )</b>, which requires at least one specified item to be in the packet.</p><dd><p class="Body"><a name="84725"> </a>In dribble creation, there is no single item that is guaranteed to be in every packet. As its name implies, this routine is similar to <b class="routine"><i class="routine">snmpdVbRowExtract</i></b><b>( )</b>. It searches the variable bindings in <i class="i">pktp</i> starting at <i class="i">indx</i> for a match of the MIB leaf pointer specified in the <i class="i">leaves</i> array and with an instance specified by <i class="i">compc</i> and <i class="i">compl</i>. The routine then links the variable bindings found from the last variable binding found.</p><dd><p class="Body"><a name="84726"> </a>If no variable bindings are found, this routine returns a NULL pointer. This routine does not set any of the flags in the variable bindings. It is left to the calling routine to decide if the <i class="i">tested</i> or <i class="i">set</i> flags should be set. </p></dl></dl><h4 class="SH"><a name="84727"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84728"> </a>A pointer to the last variable binding if successful, otherwise NULL. </p></dl></dl><h4 class="SH"><a name="84729"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84730"> </a><b>snmpdLib</b> </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.TOC94.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC96.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 + -