[netfilter-cvslog] r7019 - in trunk/iptables: extensions
include/linux/netfilter
kaber at trash.net
kaber at trash.net
Wed Sep 5 15:44:52 CEST 2007
Author: kaber at trash.net
Date: 2007-09-05 15:44:51 +0200 (Wed, 05 Sep 2007)
New Revision: 7019
Added:
trunk/iptables/include/linux/netfilter/xt_quota.h
Removed:
trunk/iptables/extensions/.quota-testx
Modified:
trunk/iptables/extensions/Makefile
Log:
Build quota match unconditionally
Deleted: trunk/iptables/extensions/.quota-testx
===================================================================
--- trunk/iptables/extensions/.quota-testx 2007-09-05 13:42:58 UTC (rev 7018)
+++ trunk/iptables/extensions/.quota-testx 2007-09-05 13:44:51 UTC (rev 7019)
@@ -1,3 +0,0 @@
-#!/bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter/xt_quota.h ] && echo quota
-
Modified: trunk/iptables/extensions/Makefile
===================================================================
--- trunk/iptables/extensions/Makefile 2007-09-05 13:42:58 UTC (rev 7018)
+++ trunk/iptables/extensions/Makefile 2007-09-05 13:44:51 UTC (rev 7019)
@@ -7,7 +7,7 @@
#
PF_EXT_SLIB:=ah addrtype conntrack ecn icmp iprange owner policy realm tos ttl unclean DNAT ECN LOG MASQUERADE MIRROR NETMAP REDIRECT REJECT SAME SNAT TOS TTL ULOG
PF6_EXT_SLIB:=eui64 hl icmp6 owner policy HL LOG
-PFX_EXT_SLIB:=connmark connlimit comment dscp esp hashlimit helper length limit mac mark multiport physdev pkttype sctp state standard tcp tcpmss udp CLASSIFY CONNMARK DSCP MARK NFLOG NFQUEUE NOTRACK TCPMSS TRACE
+PFX_EXT_SLIB:=connmark connlimit comment dscp esp hashlimit helper length limit mac mark multiport physdev pkttype quota sctp state standard tcp tcpmss udp CLASSIFY CONNMARK DSCP MARK NFLOG NFQUEUE NOTRACK TCPMSS TRACE
ifeq ($(DO_SELINUX), 1)
PF_EXT_SE_SLIB:=
Added: trunk/iptables/include/linux/netfilter/xt_quota.h
===================================================================
--- trunk/iptables/include/linux/netfilter/xt_quota.h (rev 0)
+++ trunk/iptables/include/linux/netfilter/xt_quota.h 2007-09-05 13:44:51 UTC (rev 7019)
@@ -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 */
More information about the netfilter-cvslog
mailing list