Skip to contentSkip to conversation

doc/netlink: Expand nftables specification

PATCH Superseded Remy D. Farley 1 participant 1 message Nov 19, 2025

Subsystems (2)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

v4 cover doc/netlink: Expand nftables specification

Getting out some changes I've accumulated while making nftables work with Rust netlink-bindings. Hopefully, this will be useful upstream.

v4:
- Move changes to netlink-raw.yaml into a separate commit.

v3: https://lore.kernel.org/netdev/[email protected]/
- 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/[email protected]/
- Handle empty request/reply attributes in ynl_gen_rst.py script.

v1: https://lore.kernel.org/netdev/[email protected]/
- 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 (2):
doc/netlink: Add max check to netlink-raw specification doc/netlink: Expand nftables specification

 Documentation/netlink/netlink-raw.yaml    |  11 +-
 Documentation/netlink/specs/nftables.yaml | 658 ++++++++++++++++++++--
 2 files changed, 619 insertions(+), 50 deletions(-)
Signature · 1 line
2.50.1