[netfilter-cvslog] r7023 - in trunk/iptables: extensions include/linux/netfilter

kaber at trash.net kaber at trash.net
Wed Sep 5 15:48:50 CEST 2007


Author: kaber at trash.net
Date: 2007-09-05 15:48:50 +0200 (Wed, 05 Sep 2007)
New Revision: 7023

Added:
   trunk/iptables/include/linux/netfilter/xt_dccp.h
Removed:
   trunk/iptables/extensions/.dccp-testx
Modified:
   trunk/iptables/extensions/Makefile
Log:
Build dccp match unconditionally


Deleted: trunk/iptables/extensions/.dccp-testx
===================================================================
--- trunk/iptables/extensions/.dccp-testx	2007-09-05 13:47:58 UTC (rev 7022)
+++ trunk/iptables/extensions/.dccp-testx	2007-09-05 13:48:50 UTC (rev 7023)
@@ -1,3 +0,0 @@
-#!/bin/sh
-# True if dccp is applied.
-[ -f $KERNEL_DIR/include/linux/netfilter/xt_dccp.h ] && echo dccp

Modified: trunk/iptables/extensions/Makefile
===================================================================
--- trunk/iptables/extensions/Makefile	2007-09-05 13:47:58 UTC (rev 7022)
+++ trunk/iptables/extensions/Makefile	2007-09-05 13:48:50 UTC (rev 7023)
@@ -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:=connbytes connmark connlimit comment dscp esp hashlimit helper length limit mac mark multiport physdev pkttype quota sctp state statistic standard string tcp tcpmss udp CLASSIFY CONNMARK DSCP MARK NFLOG NFQUEUE NOTRACK TCPMSS TRACE
+PFX_EXT_SLIB:=connbytes connmark connlimit comment dccp dscp esp hashlimit helper length limit mac mark multiport physdev pkttype quota sctp state statistic standard string 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_dccp.h
===================================================================
--- trunk/iptables/include/linux/netfilter/xt_dccp.h	                        (rev 0)
+++ trunk/iptables/include/linux/netfilter/xt_dccp.h	2007-09-05 13:48:50 UTC (rev 7023)
@@ -0,0 +1,23 @@
+#ifndef _XT_DCCP_H_
+#define _XT_DCCP_H_
+
+#define XT_DCCP_SRC_PORTS	        0x01
+#define XT_DCCP_DEST_PORTS	        0x02
+#define XT_DCCP_TYPE			0x04
+#define XT_DCCP_OPTION			0x08
+
+#define XT_DCCP_VALID_FLAGS		0x0f
+
+struct xt_dccp_info {
+	u_int16_t dpts[2];  /* Min, Max */
+	u_int16_t spts[2];  /* Min, Max */
+
+	u_int16_t flags;
+	u_int16_t invflags;
+
+	u_int16_t typemask;
+	u_int8_t option;
+};
+
+#endif /* _XT_DCCP_H_ */
+




More information about the netfilter-cvslog mailing list