Jeff Garzik wrote:
Ben Greear wrote:
From a quick glance at the man page, it seems netlink would be pretty
heavy-weight for just wanting to get the counters from a device. I
especially do not want to have to deal with the unreliable
(according to the man page) nature of netlink when reading kernel
counters. To me, an IOCTL seems best.
We wanna send link up/down notification via netlink too, might as well
do stats too. Gives us a lot of flexibility.
If you have concerns about netlink stability, IMHO we can address that
separately... by fixing manpage, code, whatever. Suggestions/code
Note that I am not advocating NOT providing stats through netlink, I
just prefer an IOCTL too.
in the kernel, cpu_to/from_be64. in userspace, using glib at least,
Thanks...what does 'be' stand for? Big endian? So...erm...is
big-endian or little-endian? :)
Ben Greear <greearb@xxxxxxxxxxxxxxx> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear