x_tables.h 393 字节
Newer Older
1 2 3 4
#ifndef __NETNS_X_TABLES_H
#define __NETNS_X_TABLES_H

#include <linux/list.h>
5
#include <linux/netfilter.h>
6

7 8
struct ebt_table;

9
struct netns_xt {
10
	struct list_head tables[NFPROTO_NUMPROTO];
11 12
#if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
    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