On Tue, 10 Feb 2004 15:07:06 -0800 (PST)
Stephen Hemminger <[EMAIL PROTECTED]> 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.
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://lists.osdl.org/mailman/listinfo/bridge

Reply via email to