netfilter: nf_tables: add "inet" table for IPv4/IPv6
authorPatrick McHardy <kaber@trash.net>
Fri, 3 Jan 2014 12:16:16 +0000 (12:16 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 7 Jan 2014 22:57:25 +0000 (23:57 +0100)
commit1d49144c0aaa61be4e3ccbef9cc5c40b0ec5f2fe
tree1711f39fb9f9ba1fed9bcb9afcf55499b0cef3b6
parent115a60b173af0170e0db26b9a3fd6a911fba70a3
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>
include/net/netfilter/nf_tables_ipv4.h
include/net/netfilter/nf_tables_ipv6.h
include/net/netns/nftables.h
include/uapi/linux/netfilter.h
net/ipv4/netfilter/nf_tables_ipv4.c
net/ipv6/netfilter/nf_tables_ipv6.c
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_tables_inet.c [new file with mode: 0644]