diff options
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 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) |