]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: introduce rule_to_cs/clear_cs callbacks
authorPhil Sutter <phil@nwl.cc>
Thu, 19 Jul 2018 16:31:57 +0000 (18:31 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 19 Jul 2018 21:04:01 +0000 (23:04 +0200)
commit1866625f0befbc04673017692813f48d084004ff
treeafef4450d4ae51c3d1856eb9b82164c6ee15595c
parent05894576bf78e8f3ec4e816ffc908a2dbced0350
xtables: introduce rule_to_cs/clear_cs callbacks

This introduces callbacks in nft_family_ops for parsing an nftnl rule
into iptables_command_state and clearing it afterwards.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft-arp.c
iptables/nft-bridge.c
iptables/nft-ipv4.c
iptables/nft-ipv6.c
iptables/nft-shared.c
iptables/nft-shared.h