On 12/15/2010 05:26 PM, Robert Story 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.
ifTable is not always available, e.g. in snmptrapd or tiny (sub)agents. Jan ------------------------------------------------------------------------------ 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