summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/iptables.h b/include/iptables.h
index f7ae0cc5..f0aa3455 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -4,16 +4,7 @@
#include <netinet/ip.h>
#include <xtables.h>
#include <libiptc/libiptc.h>
-
-#ifndef IPT_SO_GET_REVISION_MATCH /* Old kernel source. */
-#define IPT_SO_GET_REVISION_MATCH (IPT_BASE_CTL + 2)
-#define IPT_SO_GET_REVISION_TARGET (IPT_BASE_CTL + 3)
-#endif /* IPT_SO_GET_REVISION_MATCH Old kernel source */
-
-#define iptables_rule_match xtables_rule_match
-#define ipt_tryload xt_tryload
-
-extern int line;
+#include <iptables/internal.h>
/* Your shared library should call one of these. */
extern int do_command(int argc, char *argv[], char **table,