summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-24 19:25:23 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-25 16:26:26 +0200
commit7373297262eef6754570a5cb05c18332c801370f (patch)
treebfa36e8424603c82b4fff1919ea5296c7937f49f /iptables/xshared.h
parenta76ba54e2833761c46fd57cbe2486cbc38686717 (diff)
Combine command_match() implementations
This merges the basically identical implementations of command_match() from xtables, iptables and ip6tables into one. The only required adjustment was to make use of xt_params instead of the different *_globals objects. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xshared.h')
-rw-r--r--iptables/xshared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/xshared.h b/iptables/xshared.h
index ee0183c8..9039a24b 100644
--- a/iptables/xshared.h
+++ b/iptables/xshared.h
@@ -174,4 +174,6 @@ void print_ipv6_addresses(const struct ip6t_entry *fw6, unsigned int format);
void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags,
unsigned int format);
+void command_match(struct iptables_command_state *cs);
+
#endif /* IPTABLES_XSHARED_H */