[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250904-wg-ynl-rfc@fiberby.net>
Date: Thu, 4 Sep 2025 22:02:34 +0000
From: Asbjørn Sloth Tønnesen <ast@...erby.net>
To: "Jason A. Donenfeld" <Jason@...c4.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Asbjørn Sloth Tønnesen <ast@...erby.net>,
Donald Hunter <donald.hunter@...il.com>,
Simon Horman <horms@...nel.org>,
Jacob Keller <jacob.e.keller@...el.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
wireguard@...ts.zx2c4.com,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [RFC net-next 00/14] wireguard: netlink: ynl conversion
This series contains the wireguard changes needed to adopt
an YNL-based generated netlink code.
This RFC series is posted for reference, as it is referenced
from the current v1 series of ynl preparations, which has to
go in before this series can be submitted for net-next.
This series applies on top of this series:
https://lore.kernel.org/netdev/20250904-wg-ynl-prep@fiberby.net/
Asbjørn Sloth Tønnesen (14):
wireguard: netlink: use WG_KEY_LEN in policies
wireguard: netlink: validate nested arrays in policy
netlink: specs: add specification for wireguard
netlink: specs: wireguard: add remaining checks
uapi: wireguard: use __*_A_MAX in enums
uapi: wireguard: move enum wg_cmd
uapi: wireguard: move flag enums
uapi: wireguard: generate header with ynl-gen
wireguard: netlink: convert to split ops
wireguard: netlink: rename netlink handlers
wireguard: netlink: generate netlink code
netlink: specs: wireguard: alternative to wireguard_params.h
wireguard: netlink: enable strict genetlink validation
tools: ynl: add sample for wireguard
Documentation/netlink/specs/wireguard.yaml | 289 +++++++++++++++++++++
MAINTAINERS | 3 +
drivers/net/wireguard/Makefile | 1 +
drivers/net/wireguard/netlink.c | 73 ++----
drivers/net/wireguard/netlink_gen.c | 77 ++++++
drivers/net/wireguard/netlink_gen.h | 29 +++
include/uapi/linux/wireguard.h | 202 +++-----------
tools/net/ynl/samples/.gitignore | 1 +
tools/net/ynl/samples/wireguard.c | 104 ++++++++
9 files changed, 559 insertions(+), 220 deletions(-)
create mode 100644 Documentation/netlink/specs/wireguard.yaml
create mode 100644 drivers/net/wireguard/netlink_gen.c
create mode 100644 drivers/net/wireguard/netlink_gen.h
create mode 100644 tools/net/ynl/samples/wireguard.c
--
2.51.0
Powered by blists - more mailing lists