On Fri, 11 Mar 2011 09:10:01 -0800 Stephen wrote: SH> > The netlink one is a bit problematic, in that it unconditionally replaces the SH> > old code, and we need to support older systems which might not have netlink. SH> > Is there some header/constant we can check for that will indicate whether or SH> > not we can get the route table via netlink? SH> SH> I don't think keeping old code is necessary since netlink has been around SH> since linux 2.2 (1999) and netlink is already used in if-mib and etherlike-mib.
Yes, but if I recall correctly, it is used to augment existing methods, not to replace them. As for kernel support, a vendor trying to fit a custom kernel in an embedded device might not enable netlink support in the kernel to save space. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders