Stephen Hemminger wrote:
Other possiblity is adding additional attributes onto the device with sysfs.
That is what net/bridge/br_sysfs_if.c does. I'm not claiming it is a pretty
kernel programming model, but the user side API is simpler.
I prefer to stay away from sysfs. procfs may have it's faults, but at
least in this case, it is quite straight-forward and easily does what
I need. And procfs is less encumbered by flame wars :)
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com