On Wed, Dec 15, 2010 at 11:26 AM, Robert Story <rst...@freesnmp.com> wrote: > On Wed, 15 Dec 2010 10:28:05 +0100 Jan wrote: > JS> The problem is not to get this information, the real > JS> challenge is to do it effectively, i.e. cache them somewhere, refresh > JS> the cache sometimes, look up in the cache effectively, ... Or do we want > JS> to run netlink query on every outgoing UDP message? > > The ifTable code is already caching information about interfaces, so that's a > good candidate for where to do it. If the 15 second refresh window is too > long, then netlink might be an option. hopefully we could register to find out > when the interface address details have changed, instead of having to do > something for every packet.
It's possible to compile out the ifTable implementation (we do); if you go down this particular path please keep that in mind. Bill ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders