diff options
author | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-24 05:55:12 +0000 |
---|---|---|
committer | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-24 05:55:12 +0000 |
commit | 25ee718700952ea8e3e154ba15df5cd4d8994428 (patch) | |
tree | 54a3e393b567200f07ca377eb8f5c615a714c6f0 /include/xtables.h | |
parent | 3f7f9a483b6405d6a2debf16db27182443f483a0 (diff) |
Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h
Diffstat (limited to 'include/xtables.h')
-rw-r--r-- | include/xtables.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h index 5ae3001..43de25c 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 */ |