x_tables.h 581 B

12345678910111213141516171819202122232425
  1. #ifndef __NETNS_X_TABLES_H
  2. #define __NETNS_X_TABLES_H
  3. #include <linux/list.h>
  4. #include <linux/netfilter.h>
  5. struct ebt_table;
  6. struct netns_xt {
  7. struct list_head tables[NFPROTO_NUMPROTO];
  8. bool notrack_deprecated_warning;
  9. #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
  10. defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
  11. struct ebt_table *broute_table;
  12. struct ebt_table *frame_filter;
  13. struct ebt_table *frame_nat;
  14. #endif
  15. #if IS_ENABLED(CONFIG_IP_NF_TARGET_ULOG)
  16. bool ulog_warn_deprecated;
  17. #endif
  18. #if IS_ENABLED(CONFIG_BRIDGE_EBT_ULOG)
  19. bool ebt_ulog_warn_deprecated;
  20. #endif
  21. };
  22. #endif