On 11/11/2010 05:34 PM, Bart Van Assche wrote:
> 2010/11/10 Timo Teräs <[email protected] <mailto:[email protected]>>
> 
>     [ ... ]
>     Dynamically listen Linux netlink events and add/delete/update
>     entries on the snmpd's copy of ARP table?
>     [ ... ]
> 
> In case you did not yet come across this code, you can find an example
> of how to implement a netlink listener in Net-SNMP in source file
> agent/mibgroup/if-mib/data_access/interface_linux.c, function
> netsnmp_prefix_listen(). You will see that register_readfd() is invoked
> in that function, which allows to listen for netlink notifications
> without having to create a separate thread.

I looked at it earlier and did not find it. But I was looking at the
net-snmp-5.6 release sources. I did svn checkout now and see it. Looks
exactly what I had in mind for my code.

Thanks for the pointer.

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to