Эх сурвалжийг харах

netfilter: remove include/linux/netfilter_ipv4/ipt_addrtype.h

It was scheduled to be removed.

Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Cong Wang 13 жил өмнө
parent
commit
7a74c1a18d

+ 0 - 8
Documentation/feature-removal-schedule.txt

@@ -421,14 +421,6 @@ Files:	net/netfilter/xt_connlimit.c
 
 
 ----------------------------
 ----------------------------
 
 
-What:	ipt_addrtype match include file
-When:	2012
-Why:	superseded by xt_addrtype
-Who:	Florian Westphal <fw@strlen.de>
-Files:	include/linux/netfilter_ipv4/ipt_addrtype.h
-
-----------------------------
-
 What:	i2c_driver.attach_adapter
 What:	i2c_driver.attach_adapter
 	i2c_driver.detach_adapter
 	i2c_driver.detach_adapter
 When:	September 2011
 When:	September 2011

+ 0 - 1
include/linux/netfilter_ipv4/Kbuild

@@ -5,7 +5,6 @@ header-y += ipt_LOG.h
 header-y += ipt_REJECT.h
 header-y += ipt_REJECT.h
 header-y += ipt_TTL.h
 header-y += ipt_TTL.h
 header-y += ipt_ULOG.h
 header-y += ipt_ULOG.h
-header-y += ipt_addrtype.h
 header-y += ipt_ah.h
 header-y += ipt_ah.h
 header-y += ipt_ecn.h
 header-y += ipt_ecn.h
 header-y += ipt_ttl.h
 header-y += ipt_ttl.h

+ 0 - 27
include/linux/netfilter_ipv4/ipt_addrtype.h

@@ -1,27 +0,0 @@
-#ifndef _IPT_ADDRTYPE_H
-#define _IPT_ADDRTYPE_H
-
-#include <linux/types.h>
-
-enum {
-	IPT_ADDRTYPE_INVERT_SOURCE	= 0x0001,
-	IPT_ADDRTYPE_INVERT_DEST	= 0x0002,
-	IPT_ADDRTYPE_LIMIT_IFACE_IN	= 0x0004,
-	IPT_ADDRTYPE_LIMIT_IFACE_OUT	= 0x0008,
-};
-
-struct ipt_addrtype_info_v1 {
-	__u16	source;		/* source-type mask */
-	__u16	dest;		/* dest-type mask */
-	__u32	flags;
-};
-
-/* revision 0 */
-struct ipt_addrtype_info {
-	__u16	source;		/* source-type mask */
-	__u16	dest;		/* dest-type mask */
-	__u32	invert_source;
-	__u32	invert_dest;
-};
-
-#endif