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


snmpBuildV1TrapPDU – Builds an SNMP V1 trap PDU

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

#include <snmpntfy.h>
int snmpBuildV1TrapPDU(SnmpPDU **pdu, const SnmpSession *snmpSession, 
                       const SnmpVarBinds *varbinds, char *ent_p,
                       char *local_ip, int generic, int specific, 
                       unsigned int timestamp);)
Rule: The snmpBuildSession() and snmpCreateVarBinds() functions must have been successfully called before calling this function, because output from those functions is required as input for this function. After you are finished using the SnmpPDU structure created by this function, you must free the storage that was allocated by calling the snmpFreePDU() function.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014