Commit 5f1f8151 authored by WANG Cong's avatar WANG Cong Committed by Pablo Neira Ayuso
Browse files

netfilter: remove ipt_SAME.h and ipt_realm.h



These two headers are not required anymore, they have been
replaced by xt_SAME.h and xt_realm.h.

Florian Westphal pointed out this.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Florian Westphal <fw@strlen.de>
Signed-off-by: default avatarWANG Cong <xiyou.wangcong@gmail.>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 58020f77
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4,11 +4,9 @@ header-y += ipt_CLUSTERIP.h
header-y += ipt_ECN.h
header-y += ipt_LOG.h
header-y += ipt_REJECT.h
header-y += ipt_SAME.h
header-y += ipt_TTL.h
header-y += ipt_ULOG.h
header-y += ipt_addrtype.h
header-y += ipt_ah.h
header-y += ipt_ecn.h
header-y += ipt_realm.h
header-y += ipt_ttl.h
+0 −20
Original line number Diff line number Diff line
#ifndef _IPT_SAME_H
#define _IPT_SAME_H

#include <linux/types.h>

#define IPT_SAME_MAX_RANGE	10

#define IPT_SAME_NODST		0x01

struct ipt_same_info {
	unsigned char info;
	__u32 rangesize;
	__u32 ipnum;
	__u32 *iparray;

	/* hangs off end. */
	struct nf_nat_range range[IPT_SAME_MAX_RANGE];
};

#endif /*_IPT_SAME_H*/
+0 −7
Original line number Diff line number Diff line
#ifndef _IPT_REALM_H
#define _IPT_REALM_H

#include <linux/netfilter/xt_realm.h>
#define ipt_realm_info xt_realm_info

#endif /* _IPT_REALM_H */