]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netfilter_ipv4/ipt_dccp.h
Documentation/email-clients.txt: add some info about gmail
[linux-2.6-omap-h63xx.git] / include / linux / netfilter_ipv4 / ipt_dccp.h
index 3cb3a522e62b78cd32ecbcaee5a6a65816ae1822..e70d11e1f53cf8018805f7ecd5d12e12a22989e8 100644 (file)
@@ -1,23 +1,15 @@
 #ifndef _IPT_DCCP_H_
 #define _IPT_DCCP_H_
 
-#define IPT_DCCP_SRC_PORTS             0x01
-#define IPT_DCCP_DEST_PORTS            0x02
-#define IPT_DCCP_TYPE                  0x04
-#define IPT_DCCP_OPTION                        0x08
+#include <linux/netfilter/xt_dccp.h>
+#define IPT_DCCP_SRC_PORTS     XT_DCCP_SRC_PORTS
+#define IPT_DCCP_DEST_PORTS    XT_DCCP_DEST_PORTS
+#define IPT_DCCP_TYPE          XT_DCCP_TYPE
+#define IPT_DCCP_OPTION                XT_DCCP_OPTION
 
-#define IPT_DCCP_VALID_FLAGS           0x0f
+#define IPT_DCCP_VALID_FLAGS   XT_DCCP_VALID_FLAGS
 
-struct ipt_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;
-};
+#define ipt_dccp_info xt_dccp_info
 
 #endif /* _IPT_DCCP_H_ */