X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=iptables.h;h=491e59880714230c8d5ad038b72162fdd4e78d67;hb=6015fc07618173bc9cc44890e0f9c86081c80848;hp=1d98b76820946ed63f26841387133a7715b421a3;hpb=227530375704f8aa5ae3af0b88d7749f7cf7e7d0;p=project%2Ffirewall3.git diff --git a/iptables.h b/iptables.h index 1d98b76..491e598 100644 --- a/iptables.h +++ b/iptables.h @@ -21,6 +21,9 @@ #define _GNU_SOURCE /* RTLD_NEXT */ +#define _LINUX_IF_H +#define _LINUX_IN_H +#define _LINUX_IN6_H #include #include #include @@ -32,9 +35,6 @@ #include "options.h" -#define FW3_ID_MAGIC 0x66773300 /* 'f' 'w' '3' */ -#define FW3_ID_MASK 0xffffff00 - /* xtables interface */ #if (XTABLES_VERSION_CODE == 10 || XTABLES_VERSION_CODE == 11) # include "xtables-10.h" @@ -76,8 +76,6 @@ struct fw3_ipt_rule { struct xtables_rule_match *matches; struct xtables_target *target; - int id; - int argc; char **argv;