Hello

I am brand new at this (snmp, net-snmp, etc) and I am writing an agent using the mib2c.mfd.conf generated code-framework (container-cached) from net-snmp 5.2.1,
I've been reading throught the tutorials, mailing-list and source-code; trying to understand how things work, but there is still two things I have not been able to solve:


1) I'm trying to figure out a way to get ahold of the IP-address on which the snmp-request was received inside my *_cache_load() function (in *_data_access.c), is this at all possible without altering the snmplib?

2) I'm also trying to get ahold of the user-context (*_registration_ptr) from my *_cache_load() function (again in *_data_access.c), can this be done?

If anyone could shine some light on these issues I'd be very greatful! :)

Best regards,
Christian Joensson


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to