2010/11/10 Timo Teräs <[email protected]>

> [ ... ]
> Dynamically listen Linux netlink events and add/delete/update
> entries on the snmpd's copy of ARP table?
> [ ... ]
>

Hello Timo,

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.

Bart.
------------------------------------------------------------------------------
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