linux_bridge.h 598 B

123456789101112131415161718192021222324
  1. /*
  2. * Linux bridge configuration kernel interface
  3. * Copyright (c) 2016, Jouni Malinen <j@w1.fi>
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef LINUX_BRIDGE_H
  9. #define LINUX_BRIDGE_H
  10. /* This interface is defined in linux/if_bridge.h */
  11. #define BRCTL_GET_VERSION 0
  12. #define BRCTL_GET_BRIDGES 1
  13. #define BRCTL_ADD_BRIDGE 2
  14. #define BRCTL_DEL_BRIDGE 3
  15. #define BRCTL_ADD_IF 4
  16. #define BRCTL_DEL_IF 5
  17. #define BRCTL_GET_BRIDGE_INFO 6
  18. #define BRCTL_GET_PORT_LIST 7
  19. #define BRCTL_SET_BRIDGE_FORWARD_DELAY 8
  20. #endif /* LINUX_BRIDGE_H */