modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.git] / target / linux / generic-2.4 / patches / 116-bridge_ioctls.patch
1 --- a/include/linux/sockios.h
2 +++ b/include/linux/sockios.h
3 @@ -68,6 +68,11 @@
4  
5  #define SIOCGIFBR      0x8940          /* Bridging support             */
6  #define SIOCSIFBR      0x8941          /* Set bridging options         */
7 +#define SIOCBRADDBR     0x89a0          /* create new bridge device     */
8 +#define SIOCBRDELBR     0x89a1          /* remove bridge device         */
9 +#define SIOCBRADDIF     0x89a2          /* add interface to bridge      */
10 +#define SIOCBRDELIF     0x89a3          /* remove interface from bridge */
11 +
12  
13  #define SIOCGIFTXQLEN  0x8942          /* Get the tx queue length      */
14  #define SIOCSIFTXQLEN  0x8943          /* Set the tx queue length      */