Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
3ee68cbded
2 changed files with 2 additions and 45 deletions
  1. +0
    -43
      package/base/iproute2/add-xt_tcpudp_h.patch
  2. +2
    -2
      package/base/iproute2/iproute2.desc

+ 0
- 43
package/base/iproute2/add-xt_tcpudp_h.patch

@ -1,43 +0,0 @@
copied from git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
for 2.6.21 kernels
2007-07-10
--- iproute-2.6.20-070313/include/linux/netfilter/xt_tcpudp.h 1970-01-01 01:00:00.000000000 +0100
+++ iproute2/include/linux/netfilter/xt_tcpudp.h 2007-07-10 16:30:20.000000000 +0200
@@ -0,0 +1,36 @@
+#ifndef _XT_TCPUDP_H
+#define _XT_TCPUDP_H
+
+/* TCP matching stuff */
+struct xt_tcp
+{
+ u_int16_t spts[2]; /* Source port range. */
+ u_int16_t dpts[2]; /* Destination port range. */
+ u_int8_t option; /* TCP Option iff non-zero*/
+ u_int8_t flg_mask; /* TCP flags mask byte */
+ u_int8_t flg_cmp; /* TCP flags compare byte */
+ u_int8_t invflags; /* Inverse flags */
+};
+
+/* Values for "inv" field in struct ipt_tcp. */
+#define XT_TCP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
+#define XT_TCP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
+#define XT_TCP_INV_FLAGS 0x04 /* Invert the sense of TCP flags. */
+#define XT_TCP_INV_OPTION 0x08 /* Invert the sense of option test. */
+#define XT_TCP_INV_MASK 0x0F /* All possible flags. */
+
+/* UDP matching stuff */
+struct xt_udp
+{
+ u_int16_t spts[2]; /* Source port range. */
+ u_int16_t dpts[2]; /* Destination port range. */
+ u_int8_t invflags; /* Inverse flags */
+};
+
+/* Values for "invflags" field in struct ipt_udp. */
+#define XT_UDP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
+#define XT_UDP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
+#define XT_UDP_INV_MASK 0x03 /* All possible flags. */
+
+
+#endif

+ 2
- 2
package/base/iproute2/iproute2.desc

@ -42,8 +42,8 @@
[L] GPL
[S] Stable
[V] 2.6.20-070313
[V] 2.6.23
[P] X --X--5---9 225.200
[D] 2176139619 iproute2-2.6.20-070313.tar.gz http://developer.osdl.org/dev/iproute2/download/
[D] 4139976224 iproute2-2.6.23.tar.bz2 http://developer.osdl.org/dev/iproute2/download/

Loading…
Cancel
Save