116-bridge_ioctls.patch 618 B

1234567891011121314
  1. --- a/include/linux/sockios.h
  2. +++ b/include/linux/sockios.h
  3. @@ -68,6 +68,11 @@
  4. #define SIOCGIFBR 0x8940 /* Bridging support */
  5. #define SIOCSIFBR 0x8941 /* Set bridging options */
  6. +#define SIOCBRADDBR 0x89a0 /* create new bridge device */
  7. +#define SIOCBRDELBR 0x89a1 /* remove bridge device */
  8. +#define SIOCBRADDIF 0x89a2 /* add interface to bridge */
  9. +#define SIOCBRDELIF 0x89a3 /* remove interface from bridge */
  10. +
  11. #define SIOCGIFTXQLEN 0x8942 /* Get the tx queue length */
  12. #define SIOCSIFTXQLEN 0x8943 /* Set the tx queue length */