History

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.

Patrick McHardy committed 12 years ago

Commit 1d491441 parent 115a60b9 files · +116 −2Browse files

Showing the changes to include/uapi/linux (1 of 9 files). Show all

Unified · Split

include/uapi/linux/netfilter.h+1−0
@@ -53,6 +53,7 @@ enum nf_inet_hooks { · 52 unmodified lines
53 53
54enum {54enum {
55 NFPROTO_UNSPEC = 0,55 NFPROTO_UNSPEC = 0,
56 NFPROTO_INET = 1,
56 NFPROTO_IPV4 = 2,57 NFPROTO_IPV4 = 2,
57 NFPROTO_ARP = 3,58 NFPROTO_ARP = 3,
58 NFPROTO_BRIDGE = 7,59 NFPROTO_BRIDGE = 7,