]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: Do not pass nft_handle to do_parse()
authorPhil Sutter <phil@nwl.cc>
Thu, 23 Dec 2021 17:55:53 +0000 (18:55 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 12 Jan 2022 13:08:41 +0000 (14:08 +0100)
commit3039a52c3ecf96df4e3b815d242f788c189093e1
tree58e536a794f5a28f3db2c934d23cd1ee15c8e3af
parentece001c258e3fd8779e177ef00394877f2327f56
xtables: Do not pass nft_handle to do_parse()

Make it fit for sharing with legacy iptables, drop nft-specific
parameter. This requires to mirror proto_parse and post_parse callbacks
from family_ops somewhere reachable - use xt_cmd_parse, it holds other
"parser setup data" as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft-arp.c
iptables/nft-bridge.c
iptables/nft-ipv4.c
iptables/nft-ipv6.c
iptables/nft-shared.h
iptables/xshared.h
iptables/xtables-translate.c
iptables/xtables.c