diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org> | 2006-04-28 08:10:08 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org> | 2006-04-28 08:10:08 +0000 |
commit | c57941e15eac73a26c704c66691eab79ff521516 (patch) | |
tree | 58c83b1bb3fdcf05cdfc672b70d9a56a00241d51 /include | |
parent | 81a4c72316cf918a1b15b5df30325049d375d39f (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.h | 7 | ||||
-rw-r--r-- | include/iptables.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h index d5ea878..96f9798 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 c56a005..1cd9dc4 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) |