On Tue, 10 Feb 2004 15:07:06 -0800 (PST) Stephen Hemminger <shemminger@xxxxxxxx> wrote: > Here is what I am thinking. > > get version - not needed? Don't do this, it makes it tempting to use the version to make incompatible ABI changes. > add bridge - SIOCBR_ADD_BRIDGE > del bridge - SIOCBR_DEL_BRIDGE > add if - SIOCBR_ADD_IF > delete if - SIOCBR_DEL_IF ... > Other alternatives: > - Use just ioctl's > - Use just /proc (ugh) or sysctl's (double ugh) The mix of ioctls and /sys looks fine. I also have no strong preference for this vs. the BSD ioctls you mentioned in a later mail.