netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [Repost] Fix userspace compilation of ip_tables.h/ip6_tables.h in C++ mode
Date: Tue, 4 Nov 2014 19:31:54 +0100	[thread overview]
Message-ID: <20141104183154.GA27004@salvia> (raw)
In-Reply-To: <CANQCQpb+_Z0U7ko-FKcmA3Zm4VXrG4QG3+Nx_noq3CFt1UfZMA@mail.gmail.com>

On Mon, Nov 03, 2014 at 10:13:43PM -0600, Matthew Weber wrote:
> Re-posting a link to a patch that was posted to lkml & linux-netdev at
> first, then posted to netfilter-devel.
> 
> http://marc.info/?t=134904906300003&r=1&w=1
> 
> It seems to have been rejected:   http://patchwork.ozlabs.org/patch/188216/
> 
> We're building a custom C++ application which pulls in the iptables
> header that requires this change.  We wanted to see if we could get it
> incorporated so we don't carry the patch as part of our build.

I'm reticent to apply a kernel patch to resolve C++ compilation
issues. You can easily fix this by keeping a cached copy of this
header file in your userspace application.

What existing C++ FOS software is using the native binary iptables
interface?

> I can gladly resubmit the patch but the one in patchworks is still
> correct.

I guess you're using an older kernel version, this nows resides in
include/uapi/linux.

  reply	other threads:[~2014-11-04 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04  4:13 [Repost] Fix userspace compilation of ip_tables.h/ip6_tables.h in C++ mode Matthew Weber
2014-11-04 18:31 ` Pablo Neira Ayuso [this message]
2014-11-18 13:43   ` Matthew Weber

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=20141104183154.GA27004@salvia \
    --to=pablo@netfilter.org \
    --cc=matthew.weber@rockwellcollins.com \
    --cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).