🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25829

[PATCH net-next v3 2/5] netlink: specs: rt-link: add the lisp link type

#25829
From: Vincent Jardin via B4 Relay
Date: Wed, 02 Dec 2026 14:16
72 lines
12596 bytes
From: Vincent Jardin <vjardin@free.fr>

Describe the attributes of the LISP devices.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
---
 Documentation/netlink/specs/rt-link.yaml | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index 81b58633911d..0db51fa49543 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -2368,6 +2368,44 @@ attribute-sets:
         name: mode
         type: u8
         enum: ovpn-mode
+  -
+    name: linkinfo-lisp-attrs
+    name-prefix: ifla-lisp-
+    attributes:
+      -
+        name: id
+        type: u32
+        checks:
+          max: 16777215
+        doc: |
+          Instance ID of the packets that the device sends and receives,
+          24 bits. Either this attribute or collect-metadata is required,
+          not both.
+      -
+        name: collect-metadata
+        type: flag
+        doc: |
+          The device takes the instance ID of the packets that it sends
+          from their tunnel metadata. It receives the instance IDs that
+          have no device, and provides the instance ID as tunnel metadata.
+          Either this attribute or id is required, not both.
+      -
+        name: local
+        type: u32
+        byte-order: big-endian
+        display-hint: ipv4
+        doc: |
+          Source address of the packets sent to an IPv4 RLOC, when the
+          tunnel metadata do not give it.
+      -
+        name: local6
+        type: binary
+        display-hint: ipv6
+        checks:
+          exact-len: 16
+        doc: |
+          Source address of the packets sent to an IPv6 RLOC, when the
+          tunnel metadata do not give it.
 
 sub-messages:
   -
@@ -2427,6 +2465,9 @@ sub-messages:
       -
         value: ovpn
         attribute-set: linkinfo-ovpn-attrs
+      -
+        value: lisp
+        attribute-set: linkinfo-lisp-attrs
   -
     name: linkinfo-member-data-msg
     formats:

-- 
2.43.0
Technical Details
Message-ID: <20261202-for-upstream-lisp-v1-v3-2-5106ead913fd@free.fr>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375845-linux-kernel-netdev=dewy.ru
References: <20261202-for-upstream-lisp-v1-v3-0-5106ead913fd@free.fr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375845-linux-kernel-netdev=dewy.ru
From: devnull+vjardin.free.fr@kernel.org (Vincent Jardin via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v3 2/5] netlink: specs: rt-link: add the lisp link
 type
Date: Wed, 02 Dec 2026 15:16:33 +0100
Organization: Usenet Network
Message-ID: <20261202-for-upstream-lisp-v1-v3-2-5106ead913fd@free.fr>
References: <20261202-for-upstream-lisp-v1-v3-0-5106ead913fd@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1987508"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Pn4qnHqYjv4WcuV+M5m7E4V0Qk0= sha256:UooneHr/N9bXFxFT25KpVqr7ZqbXgqwcLnYkQiAYEhc=
	sha1:KugzhF8kcwi32O2d9LssTLyWw50= sha256:uyGFrz2KMCKceSoM5CqXQ3QTUFTkFwoV7uNreWlE0UA=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 1055A117667; Wed,  2 Dec 2026 17:17:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id NO6e6Hrum1g0;
	Wed,  2 Dec 2026 17:17:42 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-375845-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 3F5A6117660; Wed,  2 Dec 2026 17:17:34 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id CB6662E4A3; Wed,  2 Dec 2026 14:17:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796221017;
	b=rQhcSCMDXxPyM2CvmgVAlnK1DStNffe4vpAHfGLGUb4Wc8ZO+/BpabjM6SVCWnJOqQKT
	 zuU6XCyL+6Z4yItvJkuPdf7iBRO1dcsUsoxosmpF7HCwQnedqjFcSTremQ+I4vZJ4SLH7
	 07YVYXOLovJR3GAgq0UAqBGn7kAeKVdSC86gyXC4jiIxlrH7Bc/IkWU+A6ydPId4mWFl1
	 acIj3TShzpEsd5tue5GlG5UsWhLi6JYcTyOa9TQG9vhgvNxYVxi8PLwdv/OTCs2Il3nt1
	 f5jRMsXgHRUS1n/1NjJyvyFqvQzk+pHm3kMO7m+eTD10Z0Tk9OYeP3sAf3Tnwt8Ofww==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796221017;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date:
	 Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=CFYkygESBaNj8VwY70ceW1BB/mN54msooa3GXd+rmPY=;
	b=hdbgpF+EfwrXxC4hsiVhgU8UAjxVp2ImhHKazHNYnWxGCuCt/frXBIwxcykKcZ05nJxD
	 utOG2t42UDzJlCZ63xZwfKcYggDEdJD0XaGr5ni70lowIlX+E+XcatS6PH54s0b0nGlcQ
	 EdHMfKdwrisl5wZwbhdLoLVx/fY4egQCTUEmno3Eas627ewm0X1Y+hNJoAbqaCmubsRqz
	 F+oTAe7ccT1uZY1JX9gSJs9CpUqe8r9TEhkORJzDi96VEbMsNerzjiDWuVRC5O6bZqgzI
	 Hj/6QeTy4VDIChhLMV1LYyS1H1t4k/6KjFclrhh2KUZZ3WTdGwoYlAnpHdZfzex98VQ==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=c0NKX7UO;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9209560A2604;
	Wed,  2 Dec 2026 14:16:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=c0NKX7UO
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796221011;
	b=gpV5A7YKai6BVsonW3NzL6nj+QG/C9Jq03ZTpoQPp+Q/OMfiatrgqB6lX+HiGS3y2nNS
	 fJCM3o7ZRHwNGciRvZJRKJaqmhE4dNtQf0RxEnAEa1zaNk8d/JjRTzzhHj4vsiy+CiC4b
	 81tks3ZJbRMmHzeFOflP6U6W3OikzBMXksFG76cGaNNrEP6AURlvurKIXphwT9oNovXFK
	 0Sr2GVzUPxcOr5TZj4A489dTC2V/YyTpPE7FHo0JN54IkIYKmfAJPHOHkWM0Ig2F2sbHp
	 7HYXEMCedpEfQUB4k4Sk/Dijk2V5sJiBBCj+0JrmDt+0zSfmEuzpiu5r2BLhV+iNqbw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796221011;
	h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version:
	 Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=CFYkygESBaNj8VwY70ceW1BB/mN54msooa3GXd+rmPY=;
	b=xQeuMHf/HSQathFR9jc96I2kJiuimy8n6xkBWzZP2cCSKRTvUHL7PhVpyzWFQqwdmdnZ
	 uzukEfmP2ggXQ3a86f8aA4hLbk3BoLfsddgNzxFCpjM4MqtlNtzgNGAIQtI1bxj1CMfyT
	 +F2NZ4r+GON+W8PqQHJaoQ1ggyMfwYhzqW9TJqmRiI2HYYdMkyWNl0J7uhk43vbLGg+ge
	 Fee4bAJcLj6T8AzrqSA5v1yGq5++i9j/Hyzl+mUeDElDDiz70pFsNzf7lp+LLz/x8FoCJ
	 XYMItyRF6MdYakHEVrih6WMbW00WfMBYROY01cltXILyhAJMN7PpqOCLxeKWCtB/UNw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=c0NKX7UO;
	arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE3B3606A686;
	Wed,  2 Dec 2026 14:16:51 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none;
	t=1796221011;
	b=Lf5elTDM5FwWB8zMMzOIQZe+BLjMFbca9w0C0LGIaSKvpQLUXiyt8Fw7+tobsmBIZMXG
	 6Yj1l1N3JilBNARptVnHf46QSE+l3f9RgQ9iBb1Zyx1Nw8C6/W6Q8Uzw3kEOiWf2eJls2
	 IbaDacx7sX8+vyTfo2wLHAN9PH4X+s6QsfliHcwh5F45i9oH8Cl3vgQl5PHOM+9kN8NsA
	 xGJAeilsmAPjFpa4NCJVc1I+dygHMMY73MOMQKSmncdBL8AKODJzDsQiS181uMauxIALz
	 FZi6DF3oNNwiYqiFRrDf4iAYH4nIPBCn7p3G93NYkUml/100fO0CrSZiFSC4GRYEJ8w==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1796221011;
	h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=CFYkygESBaNj8VwY70ceW1BB/mN54msooa3GXd+rmPY=;
	b=mSvjFRQjbtE+oPK3S4j5ibC8db3+rjtMELKJIiALqKR/UnbHzOxg39t+mRJYRyzxiFqn
	 kMUYmDm3xT0YkJQV56el+lm7rhNpq6IZstPLGeyN6YpAWJKAaqzqa6bjeFgHa+thfFqFD
	 R/gJClTo1K68FJGczIL+opjmP7/z9J9fHEzWtBuMrj3q/Hx5s9n9pMzmM4yygLlV0F0kY
	 eXdJ/AqeLzPRoOemtUjyxqS6AYtmwP6/o79nyIOIyBNHmFxfCnyUY3B33uYNQJx7EGM/G
	 tkJhryPMMW+ofDi56100dxzACOl2fZ66/7OlmJWgEVTTnoNuzzdV3pVpJLjwnNDs5oQ==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; 
	arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.kernel.org (Postfix) with ESMTPS id AF2FB1F0089F;
	Wed,  2 Dec 2026 14:16:38 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796221011;
	bh=CFYkygESBaNj8VwY70ceW1BB/mN54msooa3GXd+rmPY=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=c0NKX7UOIU4IVZpgWjT7B+ttR3JHDIEG1EzRy3zaqKMQtVL7KNvtksOgj/yak5OBX
	 kwyOpD/LWhWLtmsTFgAM73idguTD8duy+ZKXoSX0ndXh6YKJkh+tXyjCAb39xYPaYg
	 1hT6blB5vjnvSur34VA0JykjsEwXF1vyWBRudm2R2MaVHACvoyhigYqGSkLRMtIlee
	 8JX7g5Lo9q5pbXI0lx/Hye12UWghXMrV0snmAvEgSzLJb4Lbj6iyLbzIwc28mHqvwE
	 cJrDjUNvEsrNNZHsCbcHRY0GXGF5cSDZU3SHmm9xWUUL4Z78JSiOvtVCl5SgJYqmPs
	 DnZvZU9IOzydw==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id 3A9C34F463;
	Wed,  2 Dec 2026 14:16:38 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261202-for-upstream-lisp-v1-v3-0-5106ead913fd@free.fr>
X-Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, 
 linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, 
 Asbjørn Sloth Tønnesen <ast@fiberby.net>, 
 Danielle Ratson <danieller@nvidia.com>, 
 Willem de Bruijn <willemb@google.com>
X-Mailer: b4 0.13.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1796220996; l=2099;
 i=vjardin@free.fr; s=20260525; h=from:subject:message-id;
 bh=SDDsxd8z8UySBzOTD9/YyhVjXC5S+nLVL1HlWM+q0xI=;
 b=qjFie0DRWbGhHJV8fAMVWOQcPxkj0pR2w9PTvZfTyAWXFn8KLGYGalNw40O708RZt8omZan41
 BdZs72dI0ljAVzXSmzDlcAyJJR2BnpybzsgIY/4ViotDrPXfjD41VxE
X-Developer-Key: i=vjardin@free.fr; a=ed25519;
 pk=hppgLeFpGpKOi7LNwGEZ4jOYofJCoGd4Jf1ltAabiLw=
X-Endpoint-Received: by B4 Relay for vjardin@free.fr/20260525 with
 auth_id=871
X-Original-From: Vincent Jardin <vjardin@free.fr>
X-Reply-To: vjardin@free.fr