SOURCES: iptables-llh-dirty-hack.patch - updated for 2.6.18

zbyniu zbyniu at pld-linux.org
Sat Sep 30 11:33:14 CEST 2006


Author: zbyniu                       Date: Sat Sep 30 09:33:14 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 2.6.18

---- Files affected:
SOURCES:
   iptables-llh-dirty-hack.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/iptables-llh-dirty-hack.patch
diff -u SOURCES/iptables-llh-dirty-hack.patch:1.2 SOURCES/iptables-llh-dirty-hack.patch:1.3
--- SOURCES/iptables-llh-dirty-hack.patch:1.2	Mon Apr 10 11:33:13 2006
+++ SOURCES/iptables-llh-dirty-hack.patch	Sat Sep 30 11:33:09 2006
@@ -656,3 +656,59 @@
 +#define IPP2P_MUTE		(1 << 14)
 +#define IPP2P_WASTE		(1 << 15)
 +#define IPP2P_XDCC		(1 << 16)
+diff -urN iptables-1.3.6/include/linux/netfilter/xt_quota.h iptables-1.3.6.new/include/linux/netfilter/xt_quota.h
+--- iptables-1.3.6/include/linux/netfilter/xt_quota.h	1970-01-01 00:00:00.000000000 +0000
++++ iptables-1.3.6.new/include/linux/netfilter/xt_quota.h	2006-09-20 03:42:06.000000000 +0000
+@@ -0,0 +1,16 @@
++#ifndef _XT_QUOTA_H
++#define _XT_QUOTA_H
++
++enum xt_quota_flags {
++	XT_QUOTA_INVERT		= 0x1,
++};
++#define XT_QUOTA_MASK		0x1
++
++struct xt_quota_info {
++	u_int32_t		flags;
++	u_int32_t		pad;
++	aligned_u64		quota;
++	struct xt_quota_info	*master;
++};
++
++#endif /* _XT_QUOTA_H */
+diff -urN iptables-1.3.6/include/linux/netfilter/xt_statistic.h iptables-1.3.6.new/include/linux/netfilter/xt_statistic.h
+--- iptables-1.3.6/include/linux/netfilter/xt_statistic.h	1970-01-01 00:00:00.000000000 +0000
++++ iptables-1.3.6.new/include/linux/netfilter/xt_statistic.h	2006-09-20 03:42:06.000000000 +0000
+@@ -0,0 +1,32 @@
++#ifndef _XT_STATISTIC_H
++#define _XT_STATISTIC_H
++
++enum xt_statistic_mode {
++	XT_STATISTIC_MODE_RANDOM,
++	XT_STATISTIC_MODE_NTH,
++	__XT_STATISTIC_MODE_MAX
++};
++#define XT_STATISTIC_MODE_MAX (__XT_STATISTIC_MODE_MAX - 1)
++
++enum xt_statistic_flags {
++	XT_STATISTIC_INVERT		= 0x1,
++};
++#define XT_STATISTIC_MASK		0x1
++
++struct xt_statistic_info {
++	u_int16_t			mode;
++	u_int16_t			flags;
++	union {
++		struct {
++			u_int32_t	probability;
++		} random;
++		struct {
++			u_int32_t	every;
++			u_int32_t	packet;
++			u_int32_t	count;
++		} nth;
++	} u;
++	struct xt_statistic_info	*master __attribute__((aligned(8)));
++};
++
++#endif /* _XT_STATISTIC_H */
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/iptables-llh-dirty-hack.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list