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

tc_ct.h (1031B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef __UAPI_TC_CT_H
  3. #define __UAPI_TC_CT_H
  4. #include <linux/types.h>
  5. #include <linux/pkt_cls.h>
  6. enum {
  7. TCA_CT_UNSPEC,
  8. TCA_CT_PARMS,
  9. TCA_CT_TM,
  10. TCA_CT_ACTION, /* u16 */
  11. TCA_CT_ZONE, /* u16 */
  12. TCA_CT_MARK, /* u32 */
  13. TCA_CT_MARK_MASK, /* u32 */
  14. TCA_CT_LABELS, /* u128 */
  15. TCA_CT_LABELS_MASK, /* u128 */
  16. TCA_CT_NAT_IPV4_MIN, /* be32 */
  17. TCA_CT_NAT_IPV4_MAX, /* be32 */
  18. TCA_CT_NAT_IPV6_MIN, /* struct in6_addr */
  19. TCA_CT_NAT_IPV6_MAX, /* struct in6_addr */
  20. TCA_CT_NAT_PORT_MIN, /* be16 */
  21. TCA_CT_NAT_PORT_MAX, /* be16 */
  22. TCA_CT_PAD,
  23. TCA_CT_HELPER_NAME, /* string */
  24. TCA_CT_HELPER_FAMILY, /* u8 */
  25. TCA_CT_HELPER_PROTO, /* u8 */
  26. __TCA_CT_MAX
  27. };
  28. #define TCA_CT_MAX (__TCA_CT_MAX - 1)
  29. #define TCA_CT_ACT_COMMIT (1 << 0)
  30. #define TCA_CT_ACT_FORCE (1 << 1)
  31. #define TCA_CT_ACT_CLEAR (1 << 2)
  32. #define TCA_CT_ACT_NAT (1 << 3)
  33. #define TCA_CT_ACT_NAT_SRC (1 << 4)
  34. #define TCA_CT_ACT_NAT_DST (1 << 5)
  35. struct tc_ct {
  36. tc_gen;
  37. };
  38. #endif /* __UAPI_TC_CT_H */