[kernel] refresh generic-2.4 patches
[openwrt.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.orig/include/linux/sockios.h
4 +++ linux-2.4.35.4/include/linux/sockios.h
5 @@ -68,6 +68,11 @@
6  
7  #define SIOCGIFBR      0x8940          /* Bridging support             */
8  #define SIOCSIFBR      0x8941          /* Set bridging options         */
9 +#define SIOCBRADDBR     0x89a0          /* create new bridge device     */
10 +#define SIOCBRDELBR     0x89a1          /* remove bridge device         */
11 +#define SIOCBRADDIF     0x89a2          /* add interface to bridge      */
12 +#define SIOCBRDELIF     0x89a3          /* remove interface from bridge */
13 +
14  
15  #define SIOCGIFTXQLEN  0x8942          /* Get the tx queue length      */
16  #define SIOCSIFTXQLEN  0x8943          /* Set the tx queue length      */