From d9c6a5d0977a6d8bbe772dbc31a2c4f58eec1708 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 19 Jul 2018 18:31:55 +0200 Subject: 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 Signed-off-by: Florian Westphal --- iptables/xshared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iptables/xshared.h') diff --git a/iptables/xshared.h b/iptables/xshared.h index 01c0eb12..533c5268 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -83,6 +84,7 @@ struct iptables_command_state { struct ebt_entry eb; struct ipt_entry fw; struct ip6t_entry fw6; + struct arpt_entry arp; }; int invert; int c; -- cgit v1.2.3