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

Jakub Kicinski <[email protected]>
Newsgroups com.zx2c4.lists.wireguard,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.