From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Liddicott Subject: Re: xtables Re: Hacking iptables 1.3.5 for 2.6.17 Date: Fri, 30 Jun 2006 13:51:30 +0100 Message-ID: <44A51E52.7000006@dbamsystems.com> References: <200606300948.k5U9mNot001866@toshiba.co.jp> <44A50091.7070003@ufomechanic.net> <200606301157.k5UBvJTl016149@toshiba.co.jp> <44A51BCB.7090006@ufomechanic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org, Yasuyuki KOZAKAI Return-path: To: Amin Azez In-Reply-To: <44A51BCB.7090006@ufomechanic.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Amin Azez wrote: > Yasuyuki KOZAKAI wrote: > >> As you says, netfilter_ipv4.h in 2.6.17.x has unnecessary >> '#include ' outside of __KERNEL__. But it seemd to be deleted >> in recent kernel as follows. >> >> >>> commit 62c4f0a2d5a188f73a94f2cb8ea0dba3e7cf0a7f >>> Author: David Woodhouse >>> Date: Wed Apr 26 12:56:16 2006 +0100 >>> >>> Don't include linux/config.h from anywhere else in include/ >>> >>> Signed-off-by: David Woodhouse >>> >> I don't think/know that this goes to stable tree, though. >> > > Thanks; thats helpful and also solves a long-standing puzzlement for me. > (Into my quilt stack it goes) > > Next question relates to the port to xtables and friends, and what I > need to do to convert iptables targets. > > I notice a lot of things have moved to net/netfilter/xt_*.c > > Is this an absolute requirement, or is there some compatability system? > Sorry for this foolish question; I have the answer just by diffing what is left in net/ipv4/netfilter/ with earlier kernels please forgive my laziness. Sam