On Wed, 10 Feb 2010 12:02:44 +0100 Josef Moellers <[email protected]> wrote:
> Dave Shield wrote: > > On 10 February 2010 09:23, Josef Moellers <[email protected]> > > wrote: > >> I'd like to amend the etherlike-mib code for Linux.... > >> Any comment/objection while I locally write/test? > > > > Go right ahead. > > We look forward to seeing whatever you come up with. > > The patch (against 5.5) is appended. > > Thanks in advance, > > Josef Ugh, I would prefer that you use one of the other API's to get information (like netlink IFLA_STATS) rather than open each sysfs file. The other alternative is reading /proc/net/dev -- ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
