]> Gentwo Git Trees - linux/.git/commit
wireguard: uapi: generate header with ynl-gen
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Wed, 26 Nov 2025 17:35:40 +0000 (17:35 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 2 Dec 2025 03:12:49 +0000 (04:12 +0100)
commit88cedad45ba14097e06d2c9f6578688097a94691
treef7cb8c53422f98149eeba8b90834b895e29e2658
parent8d974872ab29eeb93a5b0b698007257d8be07968
wireguard: uapi: generate header with ynl-gen

Use ynl-gen to generate the UAPI header for WireGuard.

The cosmetic changes in this patch confirms that the spec is aligned
with the implementation. By using the generated version, it ensures
that they stay in sync.

Changes in the generated header:
* Trivial header guard rename.
* Trivial white space changes.
* Trivial comment changes.
* Precompute bitflags in ynl-gen (see [1]).
* Drop __*_F_ALL constants (see [1]).

[1] https://lore.kernel.org/r/20251014123201.6ecfd146@kernel.org/

No behavioural changes intended.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/net/wireguard/netlink.c
include/uapi/linux/wireguard.h