All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Cc: Netfilter Development Mailing list <netfilter-devel@vger.kernel.org>
Subject: Re: [libnftables PATCH 2] src: add low-level ruleset API
Date: Tue, 1 Oct 2013 12:08:18 +0200	[thread overview]
Message-ID: <20131001100818.GA3589@localhost> (raw)
In-Reply-To: <CAOkSjBjZ7hKJxGfdhD_y9CUGJZzdKjAEnBVoqPAQUcTevhVahg@mail.gmail.com>

On Tue, Oct 01, 2013 at 11:46:38AM +0200, Arturo Borrero Gonzalez wrote:
> On 1 October 2013 11:38, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> > On Tue, Oct 01, 2013 at 12:33:18AM +0200, Arturo Borrero Gonzalez wrote:
> >> This patch adds a low level ruleset API for libnftables.
> >
> > Applied, thanks Arturo.
> >
> > BTW, any plan to send me example files?
> 
> It seem I can't dump sets with af NFPROTO_UNSPEC.
> 
> I'm looking nf_tables_api.c wondering how difficult is to implement it.
> 
> In nf_tables_dump_sets_all(), I think we need to iterate afs  like in
> dump_tables(), ie:
> 
> list_for_each_entry(afi, &net->nft.af_info, list) {
>   if (family != NFPROTO_UNSPEC && family != afi->family)
>     continue;
> [...]

That's on the right track. Let me know if you want to send me a kernel
patch for it.

      reply	other threads:[~2013-10-01 10:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30 22:33 [libnftables PATCH 2] src: add low-level ruleset API Arturo Borrero Gonzalez
2013-10-01  9:38 ` Pablo Neira Ayuso
2013-10-01  9:46   ` Arturo Borrero Gonzalez
2013-10-01 10:08     ` 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=20131001100818.GA3589@localhost \
    --to=pablo@netfilter.org \
    --cc=arturo.borrero.glez@gmail.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 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.