netsnmp_trap.h File Reference

Juniper Trap API for the Net-SNMP library. More...


Functions

netsnmp_variable_list * netsnmp_trap_sdk_request_header (oid *v2_oid, size_t v2_oid_len)
 Defines the request header of the SNMP trap packet to the SNMP master agent.
int netsnmp_trap_request_send (netsnmp_variable_list *var_list)
 Sends the trap packet with variable bindings to the SNMP master agent.


Detailed Description

Juniper Trap API for the Net-SNMP library.


Function Documentation

int netsnmp_trap_request_send netsnmp_variable_list *  var_list  ) 
 

Sends the trap packet with variable bindings to the SNMP master agent.

Parameters:
[in] var_list The list of variable bindings in the trap packet.
Returns:
If successful, zero is returned. Otherwise, -1 is returned.

netsnmp_variable_list* netsnmp_trap_sdk_request_header oid *  v2_oid,
size_t  v2_oid_len
 

Defines the request header of the SNMP trap packet to the SNMP master agent.

Parameters:
[in] v2_oid The SNMP trap object ID.
[in] v2_oid_len The length of the SNMP trap object ID.
Returns:
The variable bindings list defined in the request header.


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:23:32 2010 for libjnet-snmp by Doxygen 1.4.5