From 2452bafd9810e8560717f10af8e26f8a3ac4f4cf Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Fri, 28 Apr 2006 08:10:08 +0000 Subject: Add DCCP/SCTP support to multiport. Patch for kernel will go in 2.6.18. --- include/ip6tables.h | 7 +++++++ include/iptables.h | 3 +++ 2 files changed, 10 insertions(+) (limited to 'include') 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) -- cgit v1.2.3