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.
Showing the changes to include/uapi/linux (1 of 9 files). Show all
Unified · Split
| @@ -53,6 +53,7 @@ enum nf_inet_hooks { · 52 unmodified lines | ||
| 53 | 53 | |
| 54 | 54 | enum { |
| 55 | 55 | NFPROTO_UNSPEC = 0, |
| 56 | + NFPROTO_INET = 1, | |
| 56 | 57 | NFPROTO_IPV4 = 2, |
| 57 | 58 | NFPROTO_ARP = 3, |
| 58 | 59 | NFPROTO_BRIDGE = 7, |