netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] set: set parsing fixes
@ 2014-01-16 20:16 Patrick McHardy
  2014-01-16 20:16 ` [PATCH 1/2] set: make set flags output parsable Patrick McHardy
  2014-01-16 20:16 ` [PATCH 2/2] set: make set initializer parsable Patrick McHardy
  0 siblings, 2 replies; 3+ messages in thread
From: Patrick McHardy @ 2014-01-16 20:16 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

The following two patches fix a couple of problems with printed set
outputs from "nft list table ..." and parsing the output again with
"nft -f".

- internal flags are printed
- flags are not parsable
- initializers (elements = { }) is not parsable

With these patches, parsing the output of "nft list table ..." works
in at least more cases than before when sets are present. We still
have ordering problems, verdict maps referencing chains will fail
since chains are created after the maps. The same problem exists
generally for jump rules.

Changes to last version: set data type and evaluate initializers.

These patches have been tested to work as described. I'll push them
to master now.

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

end of thread, other threads:[~2014-01-16 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-16 20:16 [PATCH 0/2] set: set parsing fixes Patrick McHardy
2014-01-16 20:16 ` [PATCH 1/2] set: make set flags output parsable Patrick McHardy
2014-01-16 20:16 ` [PATCH 2/2] set: make set initializer parsable Patrick McHardy

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