logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

xt_physdev.h (553B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _XT_PHYSDEV_H
  3. #define _XT_PHYSDEV_H
  4. #include <linux/types.h>
  5. #include <linux/if.h>
  6. #define XT_PHYSDEV_OP_IN 0x01
  7. #define XT_PHYSDEV_OP_OUT 0x02
  8. #define XT_PHYSDEV_OP_BRIDGED 0x04
  9. #define XT_PHYSDEV_OP_ISIN 0x08
  10. #define XT_PHYSDEV_OP_ISOUT 0x10
  11. #define XT_PHYSDEV_OP_MASK (0x20 - 1)
  12. struct xt_physdev_info {
  13. char physindev[IFNAMSIZ];
  14. char in_mask[IFNAMSIZ];
  15. char physoutdev[IFNAMSIZ];
  16. char out_mask[IFNAMSIZ];
  17. __u8 invert;
  18. __u8 bitmask;
  19. };
  20. #endif /* _XT_PHYSDEV_H */