📄 snmp.refentries.toc23.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">SNMP_Bind_IP_Address</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.TOC22.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC24.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="83832"> <i class="i">SNMP_Bind_IP_Address</i>( ) </a></i></h2></font><h4 class="SH"><a name="83833"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="83834"><div class="aX"><b class="routine"><i class="routine">SNMP_Bind_IP_Address</i></b><b>( )</b> - bind an IP address variable </div></a></dl></dl><h4 class="SH"><a name="83835"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="83836">int SNMP_Bind_IP_Address ( SNMP_PKT_T * pktp, /* internal representation of snmp packet */ int index, /* index of varbind entry */ int compc, /* component count */ OIDC_T * compl, /* component length */ OCTET_T * pIpAddr /* ip address */ );</a></b></pre></dl></dl><h4 class="SH"><a name="83844"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83845"> </a>This routine binds an IP address variable in the variable-binding list of an SNMP packet structure</p><dd><p class="Body"><a name="83846"> </a>Parameter <i class="i">pktp</i> references the packet structure.</p><dd><p class="Body"><a name="83847"> </a><i class="i">index</i> is a zero-based index indicating which variable-binding entry is to be used.</p><dd><p class="Body"><a name="83848"> </a><i class="i">compc</i> and <i class="i">compl</i> are the component count and components, respectively, of the object identifier of the variable being bound.</p><dd><p class="Body"><a name="83849"> </a><i class="i">pIpAddr</i> is a pointer to a four-byte area containing the IP address to be bound.</p><dd><p class="Body"><a name="83850"> </a>The four bytes contain the network address in standard TCP/IP network-byte order. </p></dl></dl><h4 class="SH"><a name="83851"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83852"> </a>0 if successful, otherwise -1. </p></dl></dl><h4 class="SH"><a name="83853"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="83854"> </a><b>snmpBindLib</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.TOC22.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC24.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 + -