x_tables.h 507 B

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