Re: [16/19] libxt_iprange r0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
Move libipt_iprange to libxt_iprange.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>

---
 extensions/libipt_iprange.c                |  175 -----------------------------
 extensions/libipt_iprange.man              |    7 -
 extensions/libxt_iprange.c                 |  170 ++++++++++++++++++++++++++++
 extensions/libxt_iprange.man               |    7 +
 include/linux/netfilter/xt_iprange.h       |   17 ++
 include/linux/netfilter_ipv4/ipt_iprange.h |    8 -
 7 files changed, 198 insertions(+), 188 deletions(-)

Applied.

Index: iptables-modules/include/linux/netfilter_ipv4/ipt_iprange.h
===================================================================
--- iptables-modules.orig/include/linux/netfilter_ipv4/ipt_iprange.h
+++ iptables-modules/include/linux/netfilter_ipv4/ipt_iprange.h
@@ -1,14 +1,12 @@
 #ifndef _IPT_IPRANGE_H
 #define _IPT_IPRANGE_H
-#define IPRANGE_SRC 0x01 /* Match source IP address */
-#define IPRANGE_DST		0x02	/* Match destination IP address */
-#define IPRANGE_SRC_INV		0x10	/* Negate the condition */
-#define IPRANGE_DST_INV		0x20	/* Negate the condition */
+#include <linux/types.h>
+#include <linux/netfilter/xt_iprange.h>
struct ipt_iprange {
 	/* Inclusive: network order. */
-	u_int32_t min_ip, max_ip;
+	__be32 min_ip, max_ip;
 };
struct ipt_iprange_info


Do we really want to keep this file?
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux