On Thu, 2006-03-09 at 20:07 +0100, Malcolm Townsend wrote: > Would anyone know who calls var_ifEntry in Solaris ?
It's called by the main agent driving code, when a request is received for a MIB object within the interfaces tree. If you want to follow the flow of control, it basically starts with 'handle_snmp_packet' (in snmp_agent.c), then netsnmp_handle_request, netsnmp_handle_pdu, handle_var_requests which calls the relevant handler chain. In the case of the traditional interfaces.c code, this ends up invoking the 'old_api' helper, which calls the var_ifEntry routine. > I'm trying to follow my intuition, and copy the > pertinent /mibII/interfaces.c code into a > new /data_access/interface_solaris.c file That sounds about right, yes. Dave ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
