summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-04-28 08:10:08 +0000
committerPatrick McHardy <kaber@trash.net>2006-04-28 08:10:08 +0000
commit2452bafd9810e8560717f10af8e26f8a3ac4f4cf (patch)
tree58c83b1bb3fdcf05cdfc672b70d9a56a00241d51 /include
parentf8ec61f6c8253e2269fe858b27126af07b652d54 (diff)
Add DCCP/SCTP support to multiport. Patch for kernel will go in 2.6.18.
Diffstat (limited to 'include')
-rw-r--r--include/ip6tables.h7
-rw-r--r--include/iptables.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index d5ea878e..96f9798b 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -8,6 +8,13 @@
#define IP6T_LIB_DIR "/usr/local/lib/iptables"
#endif
+#ifndef IPPROTO_SCTP
+#define IPPROTO_SCTP 132
+#endif
+#ifndef IPPROTO_DCCP
+#define IPPROTO_DCCP 33
+#endif
+
struct ip6tables_rule_match
{
struct ip6tables_rule_match *next;
diff --git a/include/iptables.h b/include/iptables.h
index c56a0057..1cd9dc41 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -11,6 +11,9 @@
#ifndef IPPROTO_SCTP
#define IPPROTO_SCTP 132
#endif
+#ifndef IPPROTO_DCCP
+#define IPPROTO_DCCP 33
+#endif
#ifndef IPT_SO_GET_REVISION_MATCH /* Old kernel source. */
#define IPT_SO_GET_REVISION_MATCH (IPT_BASE_CTL + 2)