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

📄 snmp.refentries.toc44.html

📁 vxworks相关论文
💻 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">masterIoWrite</i>(&nbsp;)     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.TOC43.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC45.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="89126"> <i class="i">masterIoWrite</i>(&nbsp;) </a></i></h2></font><h4 class="SH"><a name="89127"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="89128"><div class="aX"><b class="routine"><i class="routine">masterIoWrite</i></b><b>(&nbsp;)</b>     -     send the encoded buffer to the subagent </div></a></dl></dl><h4 class="SH"><a name="89129"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="89130">STATUS masterIoWrite &nbsp;&nbsp;&nbsp;&nbsp;( &nbsp;&nbsp;&nbsp;&nbsp;EBUFFER_T *&nbsp;&nbsp;pBuf,&nbsp;&nbsp;/* reply message to be sent */ &nbsp;&nbsp;&nbsp;&nbsp;PTR_T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;saId,&nbsp;&nbsp;/* subagent address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */ &nbsp;&nbsp;&nbsp;&nbsp;INT_32_T&nbsp;&nbsp;&nbsp;&nbsp; flg&nbsp;&nbsp;&nbsp;&nbsp;/* type of message&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/ &nbsp;&nbsp;&nbsp;&nbsp;)</a></b></pre></dl></dl><h4 class="SH"><a name="89136"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89137"> </a>This routine transmits the byte array at <i class="i">pBuf</i> to the subagent at <i class="i">saId</i>. This routine is called from a wide variety of functions in the master agent. For example, <b class="routine"><i class="routine">masterIpcSend</i></b><b>(&nbsp;)</b> calls this routine when it needs to query the subagent about one of the MIB variables it manages. Likewise, the <b class="routine"><i class="routine">masterIpcAyt</i></b><b>(&nbsp;)</b> function calls this routine when needs to check the IPC link status. Similarly, <b class="routine"><i class="routine">snmpQueMonitor</i></b><b>(&nbsp;)</b> calls this routine to tell the agent the results of a registration or deregistration request.</p><dd><p class="Body"><a name="89138"> </a>The master agent uses the value <i class="i">flg</i> to specify the general nature of the message it is writing to the subagent, which partially determines how the subagent responds. For example, when the master agent is responding to the subagent after successfully handling its registration request, the master agent uses a <i class="i">flg</i> value of <b>REG_COMPLETE</b>. When the master agent does an "are you there" check, it specifies a <i class="i">flg</i> value of <b>IPC_AYT</b>. <b>REG_COMPLETE</b> and <b>IPC_AYT</b> are the only currently valid <i class="i">flg</i> values. </p></dl></dl><h4 class="SH"><a name="89139"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89140"> </a>OK or ERROR. </p></dl></dl><h4 class="SH"><a name="89141"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89142"> </a><b>masterIoLib</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.TOC43.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC45.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 + -