summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-27 11:16:16 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-09-11 17:31:34 +0200
commit7e5e866a36a76c153e5903b8251f90cfe07a1d34 (patch)
tree2468658a122f3c9d5db1c4bfbf06d7eb097a3b1f /include/iptables.h
parent2325c0fedf7507f94aa3bb11cc65a70d33836f8f (diff)
libiptc: replace ipt_chainlabel by xt_chainlabel
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 89217e29..6edd369c 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -9,11 +9,11 @@
/* Your shared library should call one of these. */
extern int do_command4(int argc, char *argv[], char **table,
struct iptc_handle **handle);
-extern int delete_chain4(const ipt_chainlabel chain, int verbose,
+extern int delete_chain4(const xt_chainlabel chain, int verbose,
struct iptc_handle *handle);
-extern int flush_entries4(const ipt_chainlabel chain, int verbose,
+extern int flush_entries4(const xt_chainlabel chain, int verbose,
struct iptc_handle *handle);
-extern int for_each_chain4(int (*fn)(const ipt_chainlabel, int, struct iptc_handle *),
+extern int for_each_chain4(int (*fn)(const xt_chainlabel, int, struct iptc_handle *),
int verbose, int builtinstoo, struct iptc_handle *handle);
extern void print_rule4(const struct ipt_entry *e,
struct iptc_handle *handle, const char *chain, int counters);