x_tables.h 427 B

1234567891011121314151617181920
  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. };
  16. #endif