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_CT.h (853B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _XT_CT_H
  3. #define _XT_CT_H
  4. #include <linux/types.h>
  5. enum {
  6. XT_CT_NOTRACK = 1 << 0,
  7. XT_CT_NOTRACK_ALIAS = 1 << 1,
  8. XT_CT_ZONE_DIR_ORIG = 1 << 2,
  9. XT_CT_ZONE_DIR_REPL = 1 << 3,
  10. XT_CT_ZONE_MARK = 1 << 4,
  11. XT_CT_MASK = XT_CT_NOTRACK | XT_CT_NOTRACK_ALIAS |
  12. XT_CT_ZONE_DIR_ORIG | XT_CT_ZONE_DIR_REPL |
  13. XT_CT_ZONE_MARK,
  14. };
  15. struct xt_ct_target_info {
  16. __u16 flags;
  17. __u16 zone;
  18. __u32 ct_events;
  19. __u32 exp_events;
  20. char helper[16];
  21. /* Used internally by the kernel */
  22. struct nf_conn *ct __attribute__((aligned(8)));
  23. };
  24. struct xt_ct_target_info_v1 {
  25. __u16 flags;
  26. __u16 zone;
  27. __u32 ct_events;
  28. __u32 exp_events;
  29. char helper[16];
  30. char timeout[32];
  31. /* Used internally by the kernel */
  32. struct nf_conn *ct __attribute__((aligned(8)));
  33. };
  34. #endif /* _XT_CT_H */