[Bridge] Re: [RFC] bridge kernel API change
David S. Miller
davem at redhat.com
Thu Feb 12 12:05:45 PST 2004
On Tue, 10 Feb 2004 15:07:06 -0800 (PST)
Stephen Hemminger <shemminger at osdl.org> 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.
More information about the Bridge
mailing list