netfilter: nf_flow_table_offload: add IPv6 support
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Nov 2019 13:08:01 +0000 (14:08 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 15 Nov 2019 22:44:47 +0000 (23:44 +0100)
commit5c27d8d76ce810c6254cf5917a6019d824f34bd2
tree864ebba8bf3fce16151abe7310f23999a2abb2cc
parent4a766d490d205fbb07712527d0b6956ecbdec5d4
netfilter: nf_flow_table_offload: add IPv6 support

Add nf_flow_rule_route_ipv6() and use it from the IPv6 and the inet
flowtable type definitions. Rename the nf_flow_rule_route() function to
nf_flow_rule_route_ipv4().

Adjust maximum number of actions, which now becomes 16 to leave
sufficient room for the IPv6 address mangling for NAT.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_flow_table.h
net/ipv4/netfilter/nf_flow_table_ipv4.c
net/ipv6/netfilter/nf_flow_table_ipv6.c
net/netfilter/nf_flow_table_inet.c
net/netfilter/nf_flow_table_offload.c