Re: [PKT_SCHED]: Add stateless NAT
From: Evgeniy Polyakov <hidden>
Date: 2007-09-28 08:20:16
On Thu, Sep 27, 2007 at 12:52:39PM -0700, David Miller (davem@davemloft.net) wrote:
From: Patrick McHardy <redacted> Date: Thu, 27 Sep 2007 15:39:34 +0200quoted
Evgeniy Polyakov wrote:quoted
On Thu, Sep 27, 2007 at 09:20:37PM +0800, Herbert Xu (herbert@gondor.apana.org.au) wrote:quoted
How about putting it in net/core/utils.c?I knew, that was a bad idea to try to fix netfilter dependency :)diff --git a/include/linux/netfilter.h b/include/linux/netfilter.hThis looks good to me.I still think the nf_*() prefixes should all go and the extern prototypes should go into an independant header file. These are not netfilter routines, they are "INET" helpers. And we should make similar treatment for all of the ipv6 packet parser helper functions that ipv6 netfilter needs.
Should netfilter still have own nf_ prefixed functions which will just call the same ones without prefix from inet header? -- Evgeniy Polyakov