x_tables.h 393 B

123456789101112131415161718
  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. #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
  9. defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
  10. struct ebt_table *broute_table;
  11. struct ebt_table *frame_filter;
  12. struct ebt_table *frame_nat;
  13. #endif
  14. };
  15. #endif