summaryrefslogtreecommitdiffstats
path: root/include/net/netns/nftables.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-01-03 13:16:16 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-01-07 23:57:25 +0100
commit1d49144c0aaa61be4e3ccbef9cc5c40b0ec5f2fe (patch)
tree1711f39fb9f9ba1fed9bcb9afcf55499b0cef3b6 /include/net/netns/nftables.h
parentnetfilter: nf_tables: add support for multi family tables (diff)
downloadlinux-1d49144c0aaa61be4e3ccbef9cc5c40b0ec5f2fe.tar.xz
linux-1d49144c0aaa61be4e3ccbef9cc5c40b0ec5f2fe.zip
netfilter: nf_tables: add "inet" table for IPv4/IPv6
This patch adds a new table family and a new filter chain that you can use to attach IPv4 and IPv6 rules. This should help to simplify rule-set maintainance in dual-stack setups. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns/nftables.h')
-rw-r--r--include/net/netns/nftables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/nftables.h b/include/net/netns/nftables.h
index 15d056d534e3..26a394cb91a8 100644
--- a/include/net/netns/nftables.h
+++ b/include/net/netns/nftables.h
@@ -10,6 +10,7 @@ struct netns_nftables {
struct list_head commit_list;
struct nft_af_info *ipv4;
struct nft_af_info *ipv6;
+ struct nft_af_info *inet;
struct nft_af_info *arp;
struct nft_af_info *bridge;
u8 gencursor;