* [nft PATCH] doc: libnftables-json: Describe RULESET object
@ 2025-11-06 11:17 Phil Sutter
2025-11-06 23:19 ` Florian Westphal
0 siblings, 1 reply; 3+ messages in thread
From: Phil Sutter @ 2025-11-06 11:17 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel
Document the syntax of this meta-object used by "list" and "flush"
commands only.
872f373dc50f7 ("doc: Add JSON schema documentation")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
doc/libnftables-json.adoc | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc
index 643884d5c1063..049c3254ff03f 100644
--- a/doc/libnftables-json.adoc
+++ b/doc/libnftables-json.adoc
@@ -200,6 +200,18 @@ Rename a chain. The new name is expected in a dedicated property named
== RULESET ELEMENTS
+=== RULESET
+[verse]
+____
+*{ "ruleset":* 'RULSET_PROPERTIES' *}*
+
+'RULESET_PROPERTIES' := *null* | *{ "family":* 'STRING' *}*
+____
+
+This is a special object for use with *list* and *flush* commands which will
+then operate on either the whole ruleset or the parts of it belonging to the
+given family.
+
=== TABLE
[verse]
____
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [nft PATCH] doc: libnftables-json: Describe RULESET object
2025-11-06 11:17 [nft PATCH] doc: libnftables-json: Describe RULESET object Phil Sutter
@ 2025-11-06 23:19 ` Florian Westphal
2025-11-07 10:01 ` Phil Sutter
0 siblings, 1 reply; 3+ messages in thread
From: Florian Westphal @ 2025-11-06 23:19 UTC (permalink / raw)
To: Phil Sutter; +Cc: Pablo Neira Ayuso, netfilter-devel
Phil Sutter <phil@nwl.cc> wrote:
> Document the syntax of this meta-object used by "list" and "flush"
> commands only.
> 872f373dc50f7 ("doc: Add JSON schema documentation")
Why is that here? Should this have been 'Fixes: '?
Aside from that, just apply this, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [nft PATCH] doc: libnftables-json: Describe RULESET object
2025-11-06 23:19 ` Florian Westphal
@ 2025-11-07 10:01 ` Phil Sutter
0 siblings, 0 replies; 3+ messages in thread
From: Phil Sutter @ 2025-11-07 10:01 UTC (permalink / raw)
To: Florian Westphal; +Cc: Pablo Neira Ayuso, netfilter-devel
On Fri, Nov 07, 2025 at 12:19:15AM +0100, Florian Westphal wrote:
> Phil Sutter <phil@nwl.cc> wrote:
> > Document the syntax of this meta-object used by "list" and "flush"
> > commands only.
>
> > 872f373dc50f7 ("doc: Add JSON schema documentation")
>
> Why is that here? Should this have been 'Fixes: '?
Oops, yes.
> Aside from that, just apply this, thanks.
Patch applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-07 10:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06 11:17 [nft PATCH] doc: libnftables-json: Describe RULESET object Phil Sutter
2025-11-06 23:19 ` Florian Westphal
2025-11-07 10:01 ` Phil Sutter
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.