🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23760

[PATCH iproute2-next 1/3] uapi: add the attributes of the lisp devices

#23760
From: Vincent Jardin via B4 Relay
Date: Fri, 27 Nov 2026 22:37
39 lines
11126 bytes
From: Vincent Jardin <vjardin@free.fr>

Use IFLA_LISP_* from the uAPI header of the kernel

See:
  https://lore.kernel.org/r/20261126-for-upstream-lisp-v1-v1-0-7382a4bcfd9b@free.fr

Signed-off-by: Vincent Jardin <vjardin@free.fr>
---
 include/uapi/linux/if_link.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 7ce01d81..786a16b3 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -1536,6 +1536,18 @@ enum {
 
 #define IFLA_BAREUDP_MAX (__IFLA_BAREUDP_MAX - 1)
 
+/* LISP section */
+enum {
+	IFLA_LISP_UNSPEC,
+	IFLA_LISP_ID,
+	IFLA_LISP_COLLECT_METADATA,
+	IFLA_LISP_LOCAL,
+	IFLA_LISP_LOCAL6,
+	__IFLA_LISP_MAX
+};
+
+#define IFLA_LISP_MAX (__IFLA_LISP_MAX - 1)
+
 /* PPP section */
 enum {
 	IFLA_PPP_UNSPEC,

-- 
2.43.0
Technical Details
Message-ID: <20261127-iproute2-lisp-v1-1-df8ea175bc06@free.fr>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372972-linux-kernel-netdev=dewy.ru
References: <20261127-iproute2-lisp-v1-0-df8ea175bc06@free.fr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372972-linux-kernel-netdev=dewy.ru
From: devnull+vjardin.free.fr@kernel.org (Vincent Jardin via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH iproute2-next 1/3] uapi: add the attributes of the lisp
 devices
Date: Fri, 27 Nov 2026 23:37:39 +0100
Organization: Usenet Network
Message-ID: <20261127-iproute2-lisp-v1-1-df8ea175bc06@free.fr>
References: <20261127-iproute2-lisp-v1-0-df8ea175bc06@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="834888"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:zs7exMZCiPP2KDmTSZiLXEqh8dQ= sha256:kvdzuQsdlocpE48PH8K6FhI34pEGtvoBtk3ve0j4aJo=
	sha1:rG0KbXAWpiX1j31F9qs6UR6Xe9w= sha256:awwHLyp7sEngp6ZNfHXw3A2ez6uxZwn6A/vp8a7zRho=
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 30C34125F6B; Sat, 28 Nov 2026 01:38:04 +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 5LksSDs03MMU;
	Sat, 28 Nov 2026 01:38:00 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372972-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 65A4A125F68; Sat, 28 Nov 2026 01:37:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 5BCEA2DA23; Fri, 27 Nov 2026 22:37:49 +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=1795819068;
	b=K7u+D3V2WYeYr/MVlZI0tyPBGDKQjeMBy2nHJjxMLDrfQOtJXuCNhvmFeWyO0valdWxO
	 6J2RL9leMWz8de1i4qTER1nv2DZai1wAJPMR1C95XK6ZNf++2+pOznP7A33go0AJF34kS
	 xStfKL3rir8yLGkLNWTM9JluGlc80zIZYokTWBwKq6SrRGo75IOXpQH0T+LXPps9fOYf7
	 15tsBXOS6htQlbBxLgy3Nrqw3KOCOyfWcavYIzeJmuSEoZUMM7v0C3HKvzCmvSIB/ShSk
	 RcdTfJzuVvzeUaCkfIUrZoHE9Po4I6JscgsGmeRS6h5xUC50XbeAJNK7Dv6bp/kwI+Q==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795819068;
	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=KwU8LOjtrpYBs21veejOzZaPfblYKFwSoQI945HcW4g=;
	b=ejSbIZoxydZhWMxWSw5G6H9PWsSAKrl+Mj4fSoRaJg5BVBd5Z7/+7ian4oGEKaVSiWT+
	 gsoO31AhKy5morCLNBCSBYo4e+eoybResbCd5eazMCHTd1swo5X+RrLIPHFMPpC/bXGpX
	 WBR062Fyr7SLwYeD6uoka3ggYMVjxvNVs9botBZg66TfhvnCOL2dYlXt96lGxtLBlBwMZ
	 dTGQhyMK77xsAGE8Jg3rR4xAJzcmOJV8S2etDIMF9jY5zimA/I9WjpUrPpt68xCC9IPkd
	 KPObHUws+fd8U53ZCGskGJwn/pfuCQ0jiMNf+8eJ2e6O+WCqp2vKjqns0CficgcjKyQ==
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=WV9n+5OI;
	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 A3CFB606A326;
	Fri, 27 Nov 2026 22:37:48 +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=WV9n+5OI
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=1795819067;
	b=tH2RxLi+qByw3a3rRPTUGB5YQDchq1jWVrKFJ3/k+LPMBZ9pIC8/YMo5VYA8Prbif0nD
	 +EhQfMAolwtM6BaNLxJO7Lf8vlWs1wuMfVFsOnxKnyOyUwSboK51e1zWVaT4VGq9WaIne
	 d9DHLEPk34JsjtvmyF9VdTEMcrbrXWJ5OzW1ReDl30z4wvMNXq4arRpudk2CDWWDELXzR
	 eM9BXxYPD2Y63KzkoaKRZy9YUJWC711Op7ChItI7ZO5FeJBZneY+O+Hlfd35Gt/x0fscH
	 53cfxCsZoqIIoRBMYUa+n66msP2fCOniN3el14/SKQN+jkkzhVwkMTJnwbGgnKG++lA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795819067;
	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=KwU8LOjtrpYBs21veejOzZaPfblYKFwSoQI945HcW4g=;
	b=SZw0tddtyutErsfBSae3gZz59sR828JitGN/8TlEZpXJmq1dYbRUOo6qyg53peWOonZA
	 Av8Tky9zb8Rp0htkEwk6bdBIF/JJT8OKgkmu1fX0OxjSAjjd23miyuGM8HcWuOo/BIjyX
	 a43XvW08GJX3a6gsOKr9IaBQfOJ+8MSRfMEI8tm7DR/F1jsJV/4qCH/5VVAQ4Yx5tN3Mc
	 fWBmlRmGIKlfRnuALnnnpS9kyvbLj9iHLRharEwnE08ZoQsTXToNK1vyRftr/xXeGhqLM
	 8ZNvNH+NfpMokEo8gO60JN2niUTAFu+jbiZU3KSt1akBFrueKq8dxa18bMKUErGPXSQ==
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=WV9n+5OI;
	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 BB8A2606A31C
	for <netdev@vger.kernel.org>; Fri, 27 Nov 2026 22:37:47 +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=1795819067;
	b=cILfTJ11qJxpBHG6JLF2u0d1CDkAT40IdS/WH8muosTfXDAdT+P3wcK1Y/nowl/+0Qwd
	 SDMnbe9G6Kp0FsD6MXK1qgw+CKZgXXHg5SbGurcuAEDs/V+WSBIY1PVFeWHCCtW3+1tLh
	 R3OVyJj7YcZQRbAm+AS2FeytX8KRTOasCflF2BaqIvB0xDedgtXP0l9/+Hzr+bLn29FZm
	 IZZ6OfauIrKZjHlZm9iPiK7M9qY153Iy6FNpLC9UO3AHMx2mt4JxJth7eC6nyQ2H5DrFT
	 WnpZ0WUNPMrvHezDlncisv47oG14saIIVi3ppbIE8L2pyivDXnxSqHmpr11b3kXv4Mw==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1795819067;
	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=KwU8LOjtrpYBs21veejOzZaPfblYKFwSoQI945HcW4g=;
	b=wi6oPzfOeI1fC/2pdxaxvD/yz/7NhjuK5J7+hlYibIbzrJZ1HOCbUbYxNbgBAPH012VN
	 cfdTduX1l6zq8P0nUhIipJmkwSjPw8wqPmbYTGbJPmDisDlHgDYyHbLoiFsGdEkH1xSqN
	 4lq+Tp3sH1leIkDgFNdI8buX97raEZS4ZVI9Q0N5cMp6i4CojjwQYUORbkqEiBuHExSfr
	 h9JAU5gB8DfcHOlktMSGaaY43k+K3RADzt1GGf8egTkkuteIVguFTUM+p9dK7rMkkTbXK
	 /pIS+R4U8Y0rRG1+AWRzakr+8ZvhqOSBfQoySa1sUG1YbNK0V9TLLivMHDFdBIiqTxg==
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 2D8221F000C1;
	Fri, 27 Nov 2026 22:37:45 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795819067;
	bh=KwU8LOjtrpYBs21veejOzZaPfblYKFwSoQI945HcW4g=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=WV9n+5OINCrGtk8P0O3Qs5ZvsoIcilLGwbYmvUHpQ1EPdm84/sonUVfKmx663HmzX
	 tQk2LTQvhonGE0Q4KoXSZNq0xrrivEx8ltiSrYgeKDVxIPk5woPsgPRJCFrWPUrcl2
	 78r2t7/O4OUcCcRPwTTA8o1rBUbL2hgJCCzuvT52uvxzlNSlLY6BQ3xkzWHSKyE9YP
	 I9Zrvzq0uAK8E/RSEv06lo/TB18FdFMslYZjaV/2yogKnklDJmpIFS+i9M7k17bfQq
	 bRpuyt9DzS5wZ1GC1yfwcDgEbUOaL3UdWf0SpIjWD38koqUxOnaxYMyeh9fGYfACv5
	 42fPx7tvamtjw==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id A5B194DE48;
	Fri, 27 Nov 2026 22:37:44 +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: <20261127-iproute2-lisp-v1-0-df8ea175bc06@free.fr>
X-Cc: netdev@vger.kernel.org, Matthieu Baerts <matttbe@kernel.org>, 
 Vincent Jardin <vjardin@free.fr>
X-Mailer: b4 0.13.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1795819063; l=835;
 i=vjardin@free.fr; s=20260525; h=from:subject:message-id;
 bh=90Pl+kHygIdW1VdLUKQtrTeLJu8UNvjTfSyw+LojGJA=;
 b=8NfhLKJZM2eWQhdZ+sX8biCzIKhlUsJZH2N20+GH5fuSf5WUGUOwOB7safB1YlTdIcmD5bSGw
 hQVeCiHZ/KXBccuKoRq25Dew7rWWq2nt+anonMfL0VqzSf56BCK2ZE0
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