On Wed, 15 Dec 2010 10:28:05 +0100 Jan wrote: JS> This could work, needs some testing though. And if you have list of IP JS> addresses of an interface, you probably can get broadcast addresses (or JS> netmask) easily.
true. 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. ------------------------------------------------------------------------------ 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