2008-01-31 15:02:13 +03:00
|
|
|
#ifndef __NETNS_X_TABLES_H
|
|
|
|
#define __NETNS_X_TABLES_H
|
|
|
|
|
|
|
|
#include <linux/list.h>
|
2008-10-20 14:31:54 +04:00
|
|
|
#include <linux/netfilter.h>
|
2008-01-31 15:02:13 +03:00
|
|
|
|
2008-11-04 16:29:03 +03:00
|
|
|
struct ebt_table;
|
|
|
|
|
2008-01-31 15:02:13 +03:00
|
|
|
struct netns_xt {
|
2008-10-20 14:31:54 +04:00
|
|
|
struct list_head tables[NFPROTO_NUMPROTO];
|
2012-12-20 05:54:51 +04:00
|
|
|
bool notrack_deprecated_warning;
|
2009-07-04 00:11:58 +04:00
|
|
|
#if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
|
|
|
|
defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
|
2008-11-04 16:29:03 +03:00
|
|
|
struct ebt_table *broute_table;
|
2008-11-04 16:29:58 +03:00
|
|
|
struct ebt_table *frame_filter;
|
2008-11-04 16:30:46 +03:00
|
|
|
struct ebt_table *frame_nat;
|
2009-07-04 00:11:58 +04:00
|
|
|
#endif
|
2008-01-31 15:02:13 +03:00
|
|
|
};
|
|
|
|
#endif
|