From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Flavio Poletti <polettix@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nf-queue.c as an example of libnetfilter_queue
Date: Tue, 23 Apr 2013 02:43:44 +0200 [thread overview]
Message-ID: <20130423004344.GA5846@localhost> (raw)
In-Reply-To: <CAM-TR1qMrqOvWk_Y5fVeY2BzgkQPG6QJR1x-4_pUsu2SRqRQdQ@mail.gmail.com>
On Tue, Apr 23, 2013 at 02:13:22AM +0200, Flavio Poletti wrote:
> Hi,
>
> The example file nf-queue.c program in the examples
> directory does not seem to use the functions in the library at all.
>
> Are they deprecated in favor of something else?
>
> This is a repetition of a question I sent some 10 days ago, sorry
> for bothering again but I'm interested into this. Anyway I won't
> post it again if I get no answers, please accept apologies in
> advance if inconvenient.
Both APIs are currently supported, nf-queue uses libmnl. The former
uses the old libnfnetlink. I needed a rather more flexible API for the
connection tracking support in user-space in conntrackd over libmnl.
The new API also provides also helpers for ipv4, ipv6, tcp and udp,
which seems to be a common requirement for everyone. See the
libnetfilter_queue/src/extra/ directory in case you want to check
implementation details.
You can generate up to date doxygen documentation with the following
command:
libnetfilter_queue$ doxygen doxygen.cfg
Regards.
prev parent reply other threads:[~2013-04-23 0:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 13:38 nf-queue.c as an example of libnetfilter_queue Flavio Poletti
2013-04-23 0:13 ` Flavio Poletti
2013-04-23 0:43 ` Pablo Neira Ayuso [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=20130423004344.GA5846@localhost \
--to=pablo@netfilter.org \
--cc=netfilter@vger.kernel.org \
--cc=polettix@gmail.com \
/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