[PATCH net-next v2 04/11] netlink: specs: add specification for wireguard

Jakub Kicinski kuba at kernel.org
Wed Nov 5 03:07:56 UTC 2025


On Fri, 31 Oct 2025 16:05:30 +0000 Asbjørn Sloth Tønnesen wrote:
> +        name: flags
> +        doc: |
> +          ``0`` or ``WGDEVICE_F_REPLACE_PEERS`` if all current peers
> +          should be removed prior to adding the list below.
> +        type: u32
> +        enum: wgdevice-flags
> +        checks:
> +          flags-mask: wgdevice-flags

The checks: should not be necessary if the enum is specified and it is
itself of type: flags.


More information about the WireGuard mailing list