All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arturo Borrero Gonzalez <arturo@netfilter.org>
To: Phil Sutter <phil@nwl.cc>,
	Pablo Neira Ayuso <pablo@netfilter.org>,
	netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nftables 2/2] src: add set element catch-all support
Date: Tue, 11 May 2021 10:50:05 +0200	[thread overview]
Message-ID: <5fd6a58e-7fed-a1e8-c527-fae71873dc34@netfilter.org> (raw)
In-Reply-To: <20210511082441.GN12403@orbyte.nwl.cc>

On 5/11/21 10:24 AM, Phil Sutter wrote:
> Hi Pablo,
> 
> On Mon, May 10, 2021 at 06:53:21PM +0200, Pablo Neira Ayuso wrote:
>> Add a catchall expression (EXPR_SET_ELEM_CATCHALL).
>>
>> Use the underscore (_) to represent the catch-all set element, e.g.
> 
> Why did you choose this over asterisk? We have the latter as wildcard
> symbol already (although a bit limited), so I think it would be more
> intuitive than underscore.
> 

Moreover,

instead of a symbol, perhaps an explicit word (string, like "default") may 
contribute to a more understandable syntax.

  reply	other threads:[~2021-05-11  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 16:53 [PATCH nftables 1/2] parser_bison: add set_elem_key_expr rule Pablo Neira Ayuso
2021-05-10 16:53 ` [PATCH nftables 2/2] src: add set element catch-all support Pablo Neira Ayuso
2021-05-11  8:24   ` Phil Sutter
2021-05-11  8:50     ` Arturo Borrero Gonzalez [this message]
2021-05-11 10:42       ` Pablo Neira Ayuso
2021-05-11 13:20         ` Phil Sutter
2021-05-10 16:53 Pablo Neira Ayuso

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=5fd6a58e-7fed-a1e8-c527-fae71873dc34@netfilter.org \
    --to=arturo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=phil@nwl.cc \
    --subject='Re: [PATCH nftables 2/2] src: add set element catch-all support' \
    /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

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.