netfilter: remove include/linux/netfilter_ipv4/ipt_addrtype.h
Subsystems (4)
PATCH RESEND 1/2 netfilter: remove include/linux/netfilter_ipv4/ipt_addrtype.h
From: Cong Wang <[email protected]>
It was scheduled to be removed.
Acked-by Florian Westphal <[email protected]>
Signed-off-by Cong Wang <[email protected]>
--- Documentation/feature-removal-schedule.txt | 8 -------- include/linux/netfilter_ipv4/Kbuild | 1 - include/linux/netfilter_ipv4/ipt_addrtype.h | 27 --------------------------- 3 files changed, 0 insertions(+), 36 deletions(-) delete mode 100644 include/linux/netfilter_ipv4/ipt_addrtype.h
Documentation/feature-removal-schedule.txt +0 -8
@@ -414,14 +414,6 @@ Files: net/netfilter/xt_connlimit.c ---------------------------- -What: ipt_addrtype match include file -When: 2012 -Why: superseded by xt_addrtype -Who: Florian Westphal <[email protected]> -Files: include/linux/netfilter_ipv4/ipt_addrtype.h - ----------------------------- - What: i2c_driver.attach_adapter i2c_driver.detach_adapter When: September 2011
include/linux/netfilter_ipv4/Kbuild +0 -1
@@ -5,7 +5,6 @@ header-y += ipt_LOG.h header-y += ipt_REJECT.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_ttl.h
include/linux/netfilter_ipv4/ipt_addrtype.h deleted +0 -27
@@ -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
Signature · 1 line
1.7.7.6
PATCH RESEND 2/2 netfilter: remove rev 0 of xt_connlimit
From: Cong Wang <[email protected]>
It was scheduled to be removed.
Cc Jan Engelhardt <[email protected]>
Signed-off-by Cong Wang <[email protected]>
--- Documentation/feature-removal-schedule.txt | 7 ----- include/linux/netfilter/xt_connlimit.h | 9 +----- net/netfilter/xt_connlimit.c | 35 ++++++++------------------- 3 files changed, 13 insertions(+), 38 deletions(-)
Documentation/feature-removal-schedule.txt +0 -7
@@ -407,13 +407,6 @@ Who: Jean Delvare <[email protected]> ---------------------------- -What: xt_connlimit rev 0 -When: 2012 -Who: Jan Engelhardt <[email protected]> -Files: net/netfilter/xt_connlimit.c - ----------------------------- - What: i2c_driver.attach_adapter i2c_driver.detach_adapter When: September 2011
include/linux/netfilter/xt_connlimit.h +2 -7
@@ -22,13 +22,8 @@ struct xt_connlimit_info {#endif };unsigned int limit; -union { -/* revision 0 */ -unsigned int inverse; - -/* revision 1 */ -__u32 flags; - }; +/* revision 1 */ +__u32 flags;/* Used internally by the kernel */ struct xt_connlimit_data *data __attribute__((aligned(8)));
net/netfilter/xt_connlimit.c +11 -24
@@ -274,38 +274,25 @@ static void connlimit_mt_destroy(const struct xt_mtdtor_param *par)kfree (info->data); } -static struct xt_match connlimit_mt_reg[]__read_mostly = { - { - .name ="connlimit" , - .revision =0 , - .family =NFPROTO_UNSPEC , - .checkentry = connlimit_mt_check, - .match = connlimit_mt, - .matchsize =sizeof (struct xt_connlimit_info ), - .destroy = connlimit_mt_destroy, - .me =THIS_MODULE , - }, - { - .name ="connlimit" , - .revision =1 , - .family =NFPROTO_UNSPEC , - .checkentry = connlimit_mt_check, - .match = connlimit_mt, - .matchsize =sizeof (struct xt_connlimit_info ), - .destroy = connlimit_mt_destroy, - .me =THIS_MODULE , - }, +static struct xt_match connlimit_mt_reg__read_mostly = { + .name ="connlimit" , + .revision =1 , + .family =NFPROTO_UNSPEC , + .checkentry = connlimit_mt_check, + .match = connlimit_mt, + .matchsize =sizeof (struct xt_connlimit_info ), + .destroy = connlimit_mt_destroy, + .me =THIS_MODULE , };static int __init connlimit_mt_init (void ) { -return xt_register_matches (connlimit_mt_reg, -ARRAY_SIZE (connlimit_mt_reg)); +return xt_register_match (&connlimit_mt_reg); } static void __exit connlimit_mt_exit(void) { -xt_unregister_matches (connlimit_mt_reg,ARRAY_SIZE (connlimit_mt_reg)); +xt_unregister_match (&connlimit_mt_reg); }module_init (connlimit_mt_init);
Signature · 1 line
1.7.7.6
Quoted 3 lines · Cong Wang
From: Cong Wang <[email protected]>
It was scheduled to be removed.
Applied, thanks.
Re: [Resend PATCH 2/2] netfilter: remove rev 0 of xt_connlimit
In reply to Cong WangQuoted 3 lines · Cong Wang
From: Cong Wang <[email protected]>
It was scheduled to be removed.
Applied, thanks.