🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23247

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

#23247
From: Vincent Jardin via B4 Relay
Date: Thu, 26 Nov 2026 21:37
66 lines
12124 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 | 35 ++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index 81b58633911d6..30a8e36c212f4 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -2368,6 +2368,38 @@ attribute-sets:
         name: mode
         type: u8
         enum: ovpn-mode
+  -
+    name: linkinfo-lisp-attrs
+    name-prefix: ifla-lisp-
+    attributes:
+      -
+        name: id
+        type: u32
+        doc: |
+          Instance ID of the packets that the device sends and receives,
+          24 bits.
+      -
+        name: collect-metadata
+        type: flag
+        doc: |
+          The device serves the instance IDs that have no device: it takes
+          the instance ID of a packet from its tunnel metadata, and
+          provides it when it receives.
+      -
+        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
+        doc: |
+          Source address of the packets sent to an IPv6 RLOC, when the
+          tunnel metadata do not give it.
 
 sub-messages:
   -
@@ -2427,6 +2459,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: <20261126-for-upstream-lisp-v1-v1-2-7382a4bcfd9b@free.fr>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372353-linux-kernel-netdev=dewy.ru
References: <20261126-for-upstream-lisp-v1-v1-0-7382a4bcfd9b@free.fr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372353-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 2/5] netlink: specs: rt-link: add the lisp link
 type
Date: Thu, 26 Nov 2026 22:37:06 +0100
Organization: Usenet Network
Message-ID: <20261126-for-upstream-lisp-v1-v1-2-7382a4bcfd9b@free.fr>
References: <20261126-for-upstream-lisp-v1-v1-0-7382a4bcfd9b@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="571687"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6hqRTIy3QnyqaT4rEET9mdr3zl8= sha256:6/lUNYMTTIXNO+z+CqtZHYfpRV1lYZCURcXSsUoML+Y=
	sha1:Ap+NUESiB5nmt5XXcpI3fmpmVLE= sha256:YXOF8Uvq9gMp6cKaqw+HuCJ7zPwz5YuljmQvZwXOP/o=
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 3D391125F0D; Fri, 27 Nov 2026 00:37:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 xrFrS9NdjAHW;
	Fri, 27 Nov 2026 00:37:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-372353-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 DE4C9125D7A; Fri, 27 Nov 2026 00:37:29 +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 B69992C03B; Thu, 26 Nov 2026 21:37:27 +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=1795729046;
	b=0c7VAXA10GTzLtsqgPx+3a6zdifn7GQzcMbBFnvwTFhFcSdy6H9ZYPU7yS85x3RhwZxV
	 73BYzv1SkxbNBurWjQ8JlsoO+mYNo4My+LUBPewIZMsScvRzYRDfmXhiSSUuik4k1gPp4
	 Ta44eXChUcqbUrWel03KAJd+DuMLdNahEDqEsFUUqtUubB+WCNJqKnfM1yNUBEF0wGfLv
	 kvvHf18ImitbfUCelZzXVSAwyeqB2kjIFxQY2zqnoGu2K5gExD4kkS9RqKcciiYoFPHnq
	 u+OZiBCW2m5GG6E9Ok/LTFMZ7ln/VD1BQ8dvn+wvgXErsYdpbY9XlUa7J74MCxb34fQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795729046;
	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=k9P5r4zRavs9vWI7FzZxFkeTlmp2ngkFeToAzBYyCXg=;
	b=cdXgJoedZcHB8qaHQmm++1rhBfO0ZYm3GBoLjN1q/6CrAUg9bpSAARjS5JXEDlekWZrS
	 YufM4QgUutZRET9eBYbutr9tgQFxiya3Y+LAkSFciyGXPTdKn/kE8LuYZWWcZiv8PIoxr
	 nkDet1M5haZiJ+6VNo8CJngD46vvn0HI05zB/HljwzFz0k7rX1Yang9xjNO+lP1YWP403
	 t4yD5slqcedv6D0q5YH3Ea3SZBZUs9Oii3WJtrnYsC1mfCBHs93txjYNmDoCl02Y4QtBS
	 UMO9mNxIkuRfrPM6F5nSRC3iZ/Kevke0TN3ExIaO/rzwkOng5xRNbEGdvO7wyrP0GaA==
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="LQwV/OGI";
	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 95E78606A33E;
	Thu, 26 Nov 2026 21:37:26 +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=LQwV/OGI
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=1795729045;
	b=TtC0qP26iQjRCtqRkcvw0o9QagPBynWd5+EaWJ+A62v8o6n/x4NP7aKYIRFZ20TmpuJq
	 y7S/tucjOsywm8v7cpoWoURBa3HsSKFjuIYwBEP4VWcoPv0QxU0D5hwwwmUql5mIygOhK
	 LHkrdfoptDAulY8XDfpUVEFdran++WoPq7iQAUeqdatReJlFqrXBvFmKSYVsRvAKqUK8k
	 kmg+/ZC1/MKEANNod8BTW/Ek/pfOdBMm5d+UFku+3zv1yhbUKHjLDZu0Umpbnqf/9WdBi
	 J1UI441qBpwC3daKyP+FP9+VLmb0J5+GStsuRKRQP4RIUBYmh2S8LKEZL/XiSUaaf8g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795729045;
	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=k9P5r4zRavs9vWI7FzZxFkeTlmp2ngkFeToAzBYyCXg=;
	b=4otioArmzPLqh2GhRHQrq7s7weUpE8J+sX6SIkCS4I6cvm5dErojqVUsXmFIngOv9dvY
	 DZFeLQ55D3LlWXYBWIQ6Dz5AUVZUqwNVcCAHXkM6YqM3dw5E7mw+xZs+hn+F9IRNO1d2e
	 2MVuZH7TlcFRrhWjBe59Z0B1YSzLvOVisdfbf8PdEmYUAxHg4wmoN9y+aG1wDidt5ueeb
	 h8/ZLcbqdHgkXGHZKOcPd///rqKOX4lw8N3AeyWM+2uf9uuvbHT2kkXTC38B5nKsGZBpD
	 sgbQgM3Qz2W0M5AnrLLvU4Qo+I9iinhOJ0Ty17k4iNLOwViERld7TdkV67VryGFXgoA==
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="LQwV/OGI";
	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 B265A606A327;
	Thu, 26 Nov 2026 21:37:25 +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=1795729044;
	b=FNb5s7DWjHMj2pYVoru3/xJWYaxSJCu763MNqiArtmEcYGschy9yiguAfM04Lb66/lr1
	 CmZbNHPfUBXLCLCR6Vki8XbbMUs4ZVCiswD9ifn6w8pW6DH4tDWKu6V1tSuQcmOFjQQdj
	 Zhn6unO5kNkcsPxrh1sHwatR+PQ3hNuD2kmHgn36dk/R2CT5l8jTAzTfF9VYfNfP4Qyy2
	 1c5t5nmdSlgymGBC1SVUqsc+GFKCFtEO+G6dCUqalPRX/vN+eb574K70ZYUBFzLrKHS+Y
	 eDsr9RMJ/1LER2x+fmHiKLQVzG2eEwJinMyprmEv9vVXR4GNqPb/a+KfEN9W34OBdGA==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1795729044;
	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=k9P5r4zRavs9vWI7FzZxFkeTlmp2ngkFeToAzBYyCXg=;
	b=JAnpY1ZWY8g3IdWac/uSgC8mD7QBwggSGLacvoacj6J5YhmiD5d5127onTyFAQJ/7Z9u
	 zCsLX2wvJf+nMphp6VAS9vJncrCut8OlRIcGqlnNSF3C+Osb12NoHrj8DnvwXDpr0VzkB
	 DhdPMQB/nM/AjBH+gUXCScoNAVokExzzSniYfcoJyzSvPJVvUHP3zKwyIOb/FClZmjgOT
	 dBSr4QGsHenShzIYJpDEGFC/qK93iA/qk3MLKdDiDibUTSVurSMg0EQ5BQC64c0/btvlU
	 29ke8DgE7rKYPb7xgzBD0qlkYtRsHQmdIcak7tcd6vG15y9/sNnnpSkSfrwarX7wd9Q==
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 3D8A81F0089A;
	Thu, 26 Nov 2026 21:37:17 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795729044;
	bh=k9P5r4zRavs9vWI7FzZxFkeTlmp2ngkFeToAzBYyCXg=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=LQwV/OGIio3krmgBqoLyUijouKqGfkqypxtiLmA7U/4jToTJvNifj98D7MMyK/uNp
	 /CdxLyrUgxr+DrkCM8rnv3R1agTLpNoQ4p4p8bhWYTBVFeZwdytQS3wgLL44Fidhp+
	 ru6A4ZtZoyrZd58Xh1oKGmWc6Ae7Ig2jNbR2Tck7WEwxINF0ObmlG7zXKekAyB29R2
	 +scFMxhRvsSbBrD5O5GEbLRs2o/pCx7ZAc0nAEL6+JsEiOrL34CsOKJJDPNGmm+To5
	 0oj1Ei6+ZuGYfuzgd1zMCnHDrbEhP6RNAz9eaDZWorI4vqrTfIQEwTjhB1pmp9xO8M
	 r3EDk6ec/a3xA==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id BA6314D833;
	Thu, 26 Nov 2026 21:37:16 +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: <20261126-for-upstream-lisp-v1-v1-0-7382a4bcfd9b@free.fr>
X-Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, 
 linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org
X-Mailer: b4 0.13.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1795729035; l=1837;
 i=vjardin@free.fr; s=20260525; h=from:subject:message-id;
 bh=/PetGQdaL3uGENm+cDP7KlWMMRtUNnnGqpSboQO7TLs=;
 b=E90lr2hKe1x4TnsDVNUoOwWTCZltXA4bw9DS5wKuTSk+fWZ6CXchra3RrZninHAl4MaHdgMXe
 z2BSm9SwulKCs8JwJBmfrKl4D8RVhQwABMgwJhTvY8PyZqp9+YHTIeO
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