Thread (20 messages) 20 messages, 4 authors, 2026-01-27

Re: [PATCH v6 5/6] doc/netlink: nftables: Add getcompat operation

From: Remy D. Farley <hidden>
Date: 2026-01-27 12:15:08
Also in: netfilter-devel

On Tuesday, January 27th, 2026 at 11:32, Florian Westphal [off-list ref] wrote:
Remy D. Farley one-d-wide@protonmail.com wrote:
quoted
Signed-off-by: Remy D. Farley one-d-wide@protonmail.com
---
Documentation/netlink/specs/nftables.yaml | 25 +++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/Documentation/netlink/specs/nftables.yaml b/Documentation/netlink/specs/nftables.yaml
index 4b1f5b107..ce11312b9 100644
--- a/Documentation/netlink/specs/nftables.yaml
+++ b/Documentation/netlink/specs/nftables.yaml
@@ -1509,6 +1509,31 @@ sub-messages:
operations:
enum-model: directional
list:
+ -
+ # Defined as nfnl_compat_subsys in net/netfilter/nft_compat.c
+ name: getcompat
+ attribute-set: compat-attrs
+ fixed-header: nfgenmsg
+ doc: Get / dump nft_compat info

Whats the intent here? nft_compat isn't used by nftables, this
is iptables-nft compatibility glue.
I noticed getcompat operation used by `nft list ruleset` command, and it
doesn't seem to be defined anywhere else. Should I re/move it?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help