17f51950375d2efdecc3bddd1c4f85d91351ec0e
[openwrt-10.03/.git] / target / linux / generic-2.4 / patches / 116-bridge_ioctls.patch
1 Index: linux-2.4.35.4/include/linux/sockios.h
2 ===================================================================
3 --- linux-2.4.35.4/include/linux/sockios.h       2008-02-10 23:23:00.102763351 +0100
4 +++ linux-2.4.35.4.new/include/linux/sockios.h    2008-02-10 23:23:01.259570100 +0100
5 --- sockios.h   2006-12-23 21:34:20.000000000 +0100
6 +++ sockios.h.new       2008-02-10 23:22:04.000000000 +0100
7 @@ -68,6 +68,11 @@
8  
9  #define SIOCGIFBR      0x8940          /* Bridging support             */
10  #define SIOCSIFBR      0x8941          /* Set bridging options         */
11 +#define SIOCBRADDBR     0x89a0          /* create new bridge device     */
12 +#define SIOCBRDELBR     0x89a1          /* remove bridge device         */
13 +#define SIOCBRADDIF     0x89a2          /* add interface to bridge      */
14 +#define SIOCBRDELIF     0x89a3          /* remove interface from bridge */
15 +
16  
17  #define SIOCGIFTXQLEN  0x8942          /* Get the tx queue length      */
18  #define SIOCSIFTXQLEN  0x8943          /* Set the tx queue length      */