From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH */3] several messages Date: Fri, 26 Jan 2007 17:18:18 +0100 Message-ID: <45BA29CA.9040305@trash.net> References: <45BA0E79.3070307@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Netfilter Developer Mailing List To: Jan Engelhardt Return-path: In-Reply-To: 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 Jan Engelhardt wrote: > Did you pick up this question: > > BTW, ip_nat_rule.c <-> nf_nat_rule.c seems to be an almost identical > copy. Schedule one for removal? ip_nat and all related code will be removed in 2.6.22. > There is yet more to xt-ify, like (just look at all the #defines ip xt > in linux/netfilter_ipv4/ip_tables.h and ip6_tables.h). However, I was > not sure if some of the macros actually do get used by userspace code. > Mind filling me in? Basically anything outside of #ifdef __KERNEL__ needs to stay around for userspace, at least for now. Long term I would prefer to make userspace not use any headers from the kernel tree directly.