summaryrefslogtreecommitdiffstats
path: root/include/xtables.h
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-24 05:55:12 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-24 05:55:12 +0000
commit5cd1ff53a500256997519ec1d871750773c44803 (patch)
tree54a3e393b567200f07ca377eb8f5c615a714c6f0 /include/xtables.h
parent04f8c54dc52e19096d31d94593bd1040716afe4d (diff)
Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h
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 */