x_tables.h 468 B

123456789101112131415161718192021
  1. #ifndef __NETNS_X_TABLES_H
  2. #define __NETNS_X_TABLES_H
  3. #include <linux/list.h>
  4. #include <linux/netfilter_defs.h>
  5. struct ebt_table;
  6. struct netns_xt {
  7. struct list_head tables[NFPROTO_NUMPROTO];
  8. bool notrack_deprecated_warning;
  9. bool clusterip_deprecated_warning;
  10. #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
  11. defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
  12. struct ebt_table *broute_table;
  13. struct ebt_table *frame_filter;
  14. struct ebt_table *frame_nat;
  15. #endif
  16. };
  17. #endif