]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: merge {ip,arp}tables_command_state structs
authorPhil Sutter <phil@nwl.cc>
Thu, 19 Jul 2018 16:31:55 +0000 (18:31 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 19 Jul 2018 20:16:15 +0000 (22:16 +0200)
commitd9c6a5d0977a6d8bbe772dbc31a2c4f58eec1708
tree6b7530dac45c0bbda47b483d547e71e298168b26
parent87b5b9e2240e7cd5487d160cc3e059c61622ce75
xtables: merge {ip,arp}tables_command_state structs

Differences between both structs are marginal (apart from
arptables_command_state being much smaller), so merge them into one.
Struct iptables_command_state is already shared between iptables,
ip6tables and ebtables.

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