[Bridge] Re: [RFC] bridge kernel API change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux