summaryrefslogtreecommitdiffstats
path: root/include/xtables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xtables.h')
-rw-r--r--include/xtables.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h
index 5ae30014..43de25ce 100644
--- a/include/xtables.h
+++ b/include/xtables.h
@@ -5,6 +5,20 @@
#include <linux/netfilter/x_tables.h>
#include <libiptc/libxtc.h>
+#ifndef XT_LIB_DIR
+#define XT_LIB_DIR "/usr/local/lib/iptables"
+#endif
+
+#ifndef IPPROTO_SCTP
+#define IPPROTO_SCTP 132
+#endif
+#ifndef IPPROTO_DCCP
+#define IPPROTO_DCCP 33
+#endif
+#ifndef IPPROTO_UDPLITE
+#define IPPROTO_UDPLITE 136
+#endif
+
/* protocol family dependent informations */
struct afinfo {
/* protocol family */