Re: help needed regarding registering callback functions

2009-09-01 Thread Dave Shield
2009/9/1 sandeep patra : > I am writing a snmp subagent (say name xyz), whose purpose is to capture all > v2traps send out by the snmp master agent. I'm not sure that will be possible. The master agent and the subagent are separate processes. The only communication between them is as specified in

help needed regarding registering callback functions

2009-08-31 Thread sandeep patra
Hi, I am writing a snmp subagent (say name xyz), whose purpose is to capture all v2traps send out by the snmp master agent. for this in the init_xyz() function i have registered a callback function for v2trap using below lines snmp_register_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_SEND_