]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'tools-ynl-c-basic-netlink-raw-support'
authorJakub Kicinski <kuba@kernel.org>
Fri, 11 Apr 2025 03:14:43 +0000 (20:14 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Apr 2025 03:14:44 +0000 (20:14 -0700)
commitdd4f33b471da719b5ff539616a0d4af1ca123272
tree48678f3d3c2c3d549ef346abed5882071b624cae
parent4145f00227ee80f21ab274e9cd9c09758e9bcf3d
parent54d790856c73d71240835e7929235bdf710b57f4
Merge branch 'tools-ynl-c-basic-netlink-raw-support'

Jakub Kicinski says:

====================
tools: ynl: c: basic netlink-raw support

Basic support for netlink-raw AKA classic netlink in user space C codegen.
This series is enough to read routes and addresses from the kernel
(see the samples in patches 12 and 13).

Specs need to be slightly adjusted and decorated with the c naming info.

In terms of codegen this series includes just the basic plumbing required
to skip genlmsghdr and handle request types which may technically also
be legal in genetlink-legacy but are very uncommon there.

Subsequent series will add support for:
 - handling CRUD-style notifications
 - code gen for array types classic netlink uses
 - sub-message support

v1: https://lore.kernel.org/20250409000400.492371-1-kuba@kernel.org
====================

Link: https://patch.msgid.link/20250410014658.782120-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>