From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29B7FCCF9E3 for ; Wed, 5 Nov 2025 03:08:02 +0000 (UTC) Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 03ec36df; Wed, 5 Nov 2025 03:08:01 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 3c0f7e65 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 5 Nov 2025 03:07:59 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 548966020B; Wed, 5 Nov 2025 03:07:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D520C4CEF7; Wed, 5 Nov 2025 03:07:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762312078; bh=WyTGsD4E/mKC5sFVMFInPi8p9SP3Y+rnsjGRYMHi9hY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NtsVwsWoZ5tgOigU54/r9qKEc0sjpJ/Cmr7m5hdDFZyAUFyPkMxNm8cY140u1LnCK aIsI8EUYfQ/hDBcd60r7vxTHzgUQ3cMoNpFsN3Ed+4jMA1c46eLgVMz4qMC2pEZ8ae bJOm8x4klgHzstv3N0z/Fb45AbK/F+EoNBuD+WDKF1JYz0I7o9Day69N1nL4LLaD2P D6A9LkbWVUIxo09l5t/40QXqq4lHN2jhnnNtv594LG7PiORv7ok0ka56d/swDIse2L CKzHbnbuaFRqJnABR3l3N+i0UWkSeQpfxaEHGiCUKlr7LvRhQ+28PGtCeSl3X1GnYD wjaqJCVMPWWcA== Date: Tue, 4 Nov 2025 19:07:56 -0800 From: Jakub Kicinski To: =?UTF-8?B?QXNiasO4cm4=?= Sloth =?UTF-8?B?VMO4bm5lc2Vu?= Cc: "Jason A. Donenfeld" , "David S. Miller" , Eric Dumazet , Paolo Abeni , Donald Hunter , Simon Horman , Jacob Keller , Andrew Lunn , wireguard@lists.zx2c4.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 04/11] netlink: specs: add specification for wireguard Message-ID: <20251104190756.3a69dc2b@kernel.org> In-Reply-To: <20251031160539.1701943-5-ast@fiberby.net> References: <20251031160539.1701943-1-ast@fiberby.net> <20251031160539.1701943-5-ast@fiberby.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" On Fri, 31 Oct 2025 16:05:30 +0000 Asbj=C3=B8rn Sloth T=C3=B8nnesen 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.