[PATCH v6 0/6] doc/netlink: Expand nftables specification
From: Remy D. Farley <hidden>
Date: 2026-01-21 18:47:42
Also in:
netfilter-devel
Getting out some changes I've accumulated while making nftables work with Rust netlink-bindings. Hopefully, this will be useful upstream. v6: - Sort sub-messages. - Add description for "Add max check" commit. - Fix doc comment for expr-bitwise-attrs to match one in nf_tables.h (thanks Donald) v5: https://lore.kernel.org/netdev/20251120151754.1111675-1-one-d-wide@protonmail.com/ (local) - Fix docgen warnings in enums (avoid interleaving strings and attrsets in a list). - Remove "# defined in ..." comments in favor of explicit "header" tag. - Split into smaller commits. v4: https://lore.kernel.org/netdev/cover.1763574466.git.one-d-wide@protonmail.com/ (local) - Move changes to netlink-raw.yaml into a separate commit. v3: https://lore.kernel.org/netdev/20251009203324.1444367-1-one-d-wide@protonmail.com/ (local) - Fill out missing attributes in each operation (removing todo comments from v1). - Add missing annotations: dump ops, byte-order, checks. - Add max check to netlink-raw specification (suggested by Donald Hunter). - Revert changes to ynl_gen_rst.py. v2: https://lore.kernel.org/netdev/20251003175510.1074239-1-one-d-wide@protonmail.com/ (local) - Handle empty request/reply attributes in ynl_gen_rst.py script. v1: https://lore.kernel.org/netdev/20251002184950.1033210-1-one-d-wide@protonmail.com/ (local) - Add missing byte order annotations. - Fill out attributes in some operations. - Replace non-existent "name" attribute with todo comment. - Add some missing sub-messages (and associated attributes). - Add (copy over) documentation for some attributes / enum entries. - Add "getcompat" operation. Remy D. Farley (6): doc/netlink: netlink-raw: Add max check doc/netlink: nftables: Add definitions doc/netlink: nftables: Update attribute sets doc/netlink: nftables: Add sub-messages doc/netlink: nftables: Add getcompat operation doc/netlink: nftables: Fill out operation attributes Documentation/netlink/netlink-raw.yaml | 11 +- Documentation/netlink/specs/nftables.yaml | 695 ++++++++++++++++++++-- 2 files changed, 656 insertions(+), 50 deletions(-) -- 2.51.2