netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft 0/7] listing command updates
@ 2015-10-08 20:49 Pablo Neira Ayuso
  2015-10-08 20:49 ` [PATCH nft 1/7] rule: display table when listing sets Pablo Neira Ayuso
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Pablo Neira Ayuso @ 2015-10-08 20:49 UTC (permalink / raw)
  To: netfilter-devel; +Cc: kaber, fw, arturo.borrero.glez

Hi,

This patchset is following up after:

http://www.spinics.net/lists/netfilter-devel/msg38491.html

In a nutshell, what I'm proposing is that:

* `list {tables,chains,sets}' only display the object declaration, not its
  definition (ie. content). Moreover, if no family is specified, then they
  show all families to get this aligned with `list ruleset'.

* If you want to obtain the objects definition, then you use the
  `list {table,chain,set}' variant.

* We always provide an output that doesn't break `nft -f'.

Let me know if you have any comment,
Thanks.

Pablo Neira Ayuso (7):
  rule: display table when listing sets
  src: add `list chains' command
  rule: display table when listing one set
  evaluate: check if set exists before listing it
  rule: `list sets' only displays declaration, not definition
  rule: rework list chain
  parser_bison: show all sets via list sets with no family

 include/rule.h     |  2 ++
 src/evaluate.c     | 13 +++++++-
 src/parser_bison.y | 18 ++++------
 src/rule.c         | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++----
 4 files changed, 111 insertions(+), 19 deletions(-)

-- 
2.1.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-12 18:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-08 20:49 [PATCH nft 0/7] listing command updates Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 1/7] rule: display table when listing sets Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 2/7] src: add `list chains' command Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 3/7] rule: display table when listing one set Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 4/7] evaluate: check if set exists before listing it Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 5/7] rule: `list sets' only displays declaration, not definition Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 6/7] rule: rework list chain Pablo Neira Ayuso
2015-10-08 20:49 ` [PATCH nft 7/7] parser_bison: show all sets via list sets with no family Pablo Neira Ayuso
2015-10-09  7:09 ` [PATCH nft 0/7] listing command updates Arturo Borrero Gonzalez
2015-10-12 18:33   ` Pablo Neira Ayuso

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).