]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Extract rule parsing callbacks from nft_family_ops
authorPhil Sutter <phil@nwl.cc>
Wed, 29 Mar 2023 16:26:23 +0000 (18:26 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 3 May 2023 17:09:29 +0000 (19:09 +0200)
commit674e7c0f639f2322dcc7eee67aa9c3d52fa3ee65
tree9e9f1c04fa097f015da5a7063905857672b274ea
parent46ed4d264ce44dd0a01723a1e326eedc0da822ba
nft: Extract rule parsing callbacks from nft_family_ops

Introduce struct nft_ruleparse_ops holding the family-specific
expression parsers and integrate it into nft_family_ops for now.

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-ruleparse.c
iptables/nft-ruleparse.h
iptables/nft-shared.h