From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 4/7] netfilter: nf_tables: move specific layer 3 compat code to nf_tables_ipv[4|6] Date: Thu, 10 Jan 2013 17:09:13 +0100 Message-ID: <20130110160910.GC2178@macbook.localnet> References: <1357831721-10182-1-git-send-email-pablo@netfilter.org> <1357831721-10182-4-git-send-email-pablo@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@vger.kernel.org, tomasz.bursztyka@linux.intel.com To: pablo@netfilter.org Return-path: Received: from stinky.trash.net ([213.144.137.162]:58093 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753247Ab3AJQJR (ORCPT ); Thu, 10 Jan 2013 11:09:17 -0500 Content-Disposition: inline In-Reply-To: <1357831721-10182-4-git-send-email-pablo@netfilter.org> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Thu, Jan 10, 2013 at 04:28:38PM +0100, pablo@netfilter.org wrote: > From: Pablo Neira Ayuso > > This patch moves the struct xt_action_param to struct nft_pktinfo > and that structure is filled at the beginning of the every chain. > > The specific code to handle IPv4 and IPv6 now resides in > nf_tables_ipv[4|6]. > > +extern unsigned int nft_do_chain_pktinfo(struct nft_pktinfo *pkt, > + const struct nf_hook_ops *ops); Passing the pktinfo is something I also need to fix the transport layer parsing. I don't like that function name at all though, just keep nft_do_chain()?