116-bridge_ioctls.patch 763 B

12345678910111213141516
  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. #define SIOCGIFBR 0x8940 /* Bridging support */
  7. #define SIOCSIFBR 0x8941 /* Set bridging options */
  8. +#define SIOCBRADDBR 0x89a0 /* create new bridge device */
  9. +#define SIOCBRDELBR 0x89a1 /* remove bridge device */
  10. +#define SIOCBRADDIF 0x89a2 /* add interface to bridge */
  11. +#define SIOCBRDELIF 0x89a3 /* remove interface from bridge */
  12. +
  13. #define SIOCGIFTXQLEN 0x8942 /* Get the tx queue length */
  14. #define SIOCSIFTXQLEN 0x8943 /* Set the tx queue length */