tools: ynl: Add fixed-header support to ynl
authorDonald Hunter <donald.hunter@gmail.com>
Mon, 27 Mar 2023 08:31:35 +0000 (09:31 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Mar 2023 06:54:43 +0000 (23:54 -0700)
commitf036d936ca57e8bc1f39b92cadfbac27095dc4e7
treea957b1e83af3def609f4da7c057c041f7b1bd8b4
parent2607191395bd4db544db05452625cd7e98bc0848
tools: ynl: Add fixed-header support to ynl

Add support for netlink families that add an optional fixed header structure
after the genetlink header and before any attributes. The fixed-header can be
specified on a per op basis, or once for all operations, which serves as a
default value that can be overridden.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-legacy.yaml
tools/net/ynl/lib/nlspec.py
tools/net/ynl/lib/ynl.py