z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


snmpBuildV2TrapOrInformPDU parameters

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

pdu
This output parameter is a pointer to the variable into which to store the address of the SnmpPDU structure that is created. This parameter is required.
snmpSession
This input parameter is the address of the SNMP session for which the SNMP PDU needs to be built. This parameter is the output parameter of the snmpBuildSession() function and is required.
pduType
This input parameter specifies the type of the PDU. This parameter is required. The valid values are:
  • SNMP_PDU_TRAPV2
  • SNMP_PDU_INFORM
varbinds
This input parameter is a pointer to the array of VarBind structures built using the snmpCreateVarBinds() and snmpAddVarBind() functions. This parameter is required.
req_id
This input parameter is a pointer to the request ID to be stored in the SnmpPDU structure. If the value of this parameter is greater than or equal to 0, this value is used. Otherwise, a random request ID is generated and stored in the SnmpPDU structure.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014