All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Peter Volkov <pva@gentoo.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: net/netfilter/nf_nat.h header instalation
Date: Fri, 29 Jul 2011 16:28:31 +0200	[thread overview]
Message-ID: <4E32C38F.5070301@trash.net> (raw)
In-Reply-To: <1311932260.21981.11.camel@tablet>

On 29.07.2011 11:37, Peter Volkov wrote:
> Hi. Could you suggest solution for following problem:
> 
> miniupnpd [1] uses net/netfilter/nf_nat.h header and fails to build as
> normally this header is not installed by kernel during header. But is
> this correct?
> 
> As I found, iptables itself copies this kernel headers and bundles
> together with sources for reasons outlined in [3]. Now for miniupnpd
> distributions started to install  net/netfilter/*.h [4] [5]. I'm not
> opposed to install this headers in Gentoo too, bug if this is user space
> header shouldn't kernel install it?

iptables is actually wrong in copying that file, the userspace portions
such as nf_nat_manip_types and nf_nat_*range need to be moved to a new
file under include/linux/netfilter_ipv4/ which is installed and used
by userspace.

      reply	other threads:[~2011-07-29 14:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-29  9:37 net/netfilter/nf_nat.h header instalation Peter Volkov
2011-07-29 14:28 ` Patrick McHardy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E32C38F.5070301@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pva@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.