Article View: linux.kernel.netdev
Article #22305[PATCH v3 04/12] docs: ioctl-number: update networking entries
From: Randy Dunlap
Date: Wed, 25 Nov 2026 06:13
Date: Wed, 25 Nov 2026 06:13
116 lines
18618 bytes
18618 bytes
Update the list of files where networking ioctls are defined and update
the ranges of function numbers that are used.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: address sashiko comments (duplicat bnep.h entry; missing its
"conflict" marker);
drop moderated mailing lists
v3: rebase
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Cc: Jason Wang <jasowangio@gmail.com>
Cc: David Heidelberg <david@ixit.cz>
Cc: oe-linux-nfc@lists.linux.dev
Cc: Chas Williams <3chas3@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org
Documentation/userspace-api/ioctl/ioctl-number.rst | 22 +++++++----
1 file changed, 14 insertions(+), 8 deletions(-)
--- linux-next-20261123.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261123/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -130,8 +130,9 @@ Code Seq# Include File
'A' 10-53 sound/core/pcm_compat.c conflict!
'B' 00-1F linux/cciss_ioctl.h conflict!
'B' 00-0F include/linux/pmu.h conflict!
-'B' C0-FF advanced bbus <mailto:maassen@uni-freiburg.de>
+'B' C0-FF advanced bbus conflict! <mailto:maassen@uni-freiburg.de>
'B' 00-0F xen/xenbus_dev.h conflict!
+'B' C8-D4 net/bluetooth/bnep/bnep.h conflict! <mailto:linux-bluetooth@vger.kernel.org>
'C' all linux/soundcard.h conflict!
'C' 00-68 sound/compress_offload.h conflict!
'C' 01-2F linux/capi.h conflict!
@@ -172,10 +173,9 @@ Code Seq# Include File
'H' FC sound/pci/asihpi/hpios.h conflict!
'H' 00-0F uapi/misc/habanalabs.h conflict!
'H' A0 uapi/linux/usb/cdc-wdm.h
-'H' C0-F0 net/bluetooth/hci.h conflict!
+'H' C0-F0 net/bluetooth/hci_sock.h conflict!
'H' C0-DF net/bluetooth/hidp/hidp.h conflict!
'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict!
-'H' C0-DF net/bluetooth/bnep/bnep.h conflict!
'H' F1 linux/hid-roccat.h <mailto:erazor_de@users.sourceforge.net>
'H' F8-FE sound/firewire.h conflict!
'I' all linux/isdn.h conflict!
@@ -219,11 +219,12 @@ Code Seq# Include File
'T' all linux/soundcard.h conflict!
'T' 00-AF sound/asound.h conflict!
'T' all arch/x86/include/asm/ioctls.h conflict!
-'T' C0-DF linux/if_tun.h conflict!
+'T' C0-E3 linux/if_tun.h conflict!
'U' all sound/asound.h conflict!
'U' 00-CF linux/uinput.h conflict!
'U' 00-EF linux/usbdevice_fs.h
'U' C0-CF drivers/bluetooth/hci_uart.h
+'U' 00 net/nfc/nci_core.h conflict!
'V' all linux/vt.h conflict!
'V' all linux/videodev2.h conflict!
'V' C0 linux/ivtvfb.h conflict!
@@ -242,8 +243,8 @@ Code Seq# Include File
'Z' 14-15 drivers/message/fusion/mptctl.h
'[' 00-3F linux/usb/tmc.h USB Test and Measurement Devices
<mailto:gregkh@linuxfoundation.org>
-'a' all linux/atm*.h, linux/sonet.h ATM on linux
- <http://lrcwww.epfl.ch/>
+'a' all linux/atm*.h, linux/sonet.h, linux/atmbr2684.h ATM on linux
+ linux/atmdev.h, net/atm/ioctl.c <http://lrcwww.epfl.ch/>
'b' 00-FF conflict! bit3 vme host bridge
<mailto:natalia@nikhefk.nikhef.nl>
'b' 00-0F linux/dma-buf.h conflict!
@@ -264,6 +265,7 @@ Code Seq# Include File
'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict!
'f' 13-27 linux/fscrypt.h
'f' 81-8F linux/fsverity.h
+'f' 7b-7c arch/{alpha,mips,sh,xtensa}/include/uapi/asm/sockios.h
'g' 00-0F linux/usb/gadgetfs.h
'g' 20-2F linux/usb/g_printer.h
'g' 01-0F mm/gup_test.h conflict!
@@ -308,8 +310,11 @@ Code Seq# Include File
'q' 80-FF linux/telephony.h Internet PhoneJACK, Internet LineJACK
linux/ixjuser.h <http://web.archive.org/web/%2A/http://www.quicknet.net>
'r' 00-1F linux/msdos_fs.h and fs/fat/dir.c
-'s' all linux/cdk.h
+'s' all linux/cdk.h conflict!
+'s' 07-09 arch/{alpha,mips,sh,xtensa}/include/uapi/asm/sockios.h conflict!
+'s' 64-65 arch/sh/include/uapi/asm/sockios.h conflict!
't' 00-7F linux/ppp-ioctl.h
+'t' 46-4D drivers/net/ppp/ppp_generic.c
't' 80-8F linux/isdn_ppp.h
't' 90-91 linux/toshiba.h toshiba and toshiba_acpi SMM
'u' 00-1F linux/smb_fs.h gone
@@ -334,7 +339,8 @@ Code Seq# Include File
'|' 80-9F samples/ Any sample and example drivers
0x80 00-1F linux/fb.h
0x81 00-1F linux/vduse.h
-0x89 00-06 arch/x86/include/asm/sockios.h
+0x89 00-07 asm-generic/sockios.h
+0x89 06-07 linux/sockios.h
0x89 0B-DF linux/sockios.h
0x89 E0-EF linux/sockios.h SIOCPROTOPRIVATE range
0x89 F0-FF linux/sockios.h SIOCDEVPRIVATE range
Technical Details
Message-ID:
<20261125061340.3402300-5-rdunlap@infradead.org>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371045-linux-kernel-netdev=dewy.ruReferences:
<20261125061340.3402300-1-rdunlap@infradead.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371045-linux-kernel-netdev=dewy.ru From: rdunlap@infradead.org (Randy Dunlap) Newsgroups: linux.kernel.netdev Subject: [PATCH v3 04/12] docs: ioctl-number: update networking entries Date: Tue, 24 Nov 2026 22:13:31 -0800 Organization: Usenet Network Message-ID: <20261125061340.3402300-5-rdunlap@infradead.org> References: <20261125061340.3402300-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="129464"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:2u9BATA04eTDKCwhid2LX25ckP0= sha256:I/AGQX21pFTbEAIpI+DGxhKzHdfiFP1Trq7bLKQuynE= sha1:l+S87szk4W/8lXeSPXPEc0ZxCk4= sha256:GcyJb9p4i+E9SLKSm+RTzEa9qMa+Z2M/U5aDzxpVQoc= 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 3F1D8125E3E; Wed, 25 Nov 2026 09:14:52 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.95 X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=infradead.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 NR_njbDMvCoN; Wed, 25 Nov 2026 09:14:48 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-371045-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=infradead.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id D427A125E3D; Wed, 25 Nov 2026 09:14:39 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 55DE429BB2; Wed, 25 Nov 2026 06:14:35 +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=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795587241; b=3TFNqiM1fUJ7/JxrwSEJQ5h7YrBI85O19yANG9JJ86NyMg8RZLqhBltF2HyfO1I/vbCy y4gZCL1jCYNz8igagp7kvoXznMZIPn5PNg1fOJeZEwnkgLy2dq3XtWgFkRIWEmNT2dDVd uD2J5tPmKzyl+SfE9AZGnRXTdhYTJbCpHN7mBPHroHZYt/7Z6NSmswvGw73qn1GzNgiXZ nNa3+Jctl6iwveJ+nPAvN1YT7/ToE5u6CFsKBlKxd1oNB3c9qyDMeucjQ0bu39IXOuewn 2OobquWx3hxJtv7Vu8uE0ia0pRXX2aTRi7VRgmDKkeKGJpfV10y9JE8JgQAhVaS2RKA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795587241; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To: Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding; bh=RebRu2g/z31wGx+2OCPyrPhThAdN2yCx9u1zbQ7clX4=; b=kSq0sLGbDRv/zgdQ12nWzbrWO/L6MylUUxUsZ0s2qWUR0DzyxVinE6CLyTxw5XwkSraj 0KdF4C2HWYkAS3VcVGe8h6oReYa+3E3PnT01ESZiLoTmQVfKfC0fKwZMqjsBGuo8dflnq 0ViQ48F2EGyU7zkfO7N+V9jc2EikYdZfuUsvmggzwoXea19wmlhGyeQJsoRM3KplgfvZ1 CGJyxe+LdiHO+XAGI3/KNw68ePGITHKyoVCArcOfb2kbhBEm4T09bZbVa+YAXSJNo0B9Z 0q2xlVcx/neGEIBgWNT8I8KI0FLckVP+aPU80mJg5+PsQXvhTryuhQr0Ysiv2aVym5g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b="sbfW4h2/"; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; 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 ADC39606BA43; Wed, 25 Nov 2026 06:14:01 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=sbfW4h2/ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795587235; b=uZ6Gc00Yl7ts2OS97tRnCeHSHdtmcJ+kQenokGO19ihoeMmYLksYOg9umkE3mcc72H5b J8P/znID5mXbmmRAsj7PxdyjH4TDlzZjw3T9pfButjXdE93pzS1qgjbll39AcXrceVYTb kfXLSrDDOk/+64NNgC55yi43dzdRytEeBO3LmCfpwx26xmWD9N0e9f+UaKlVEAVlTP/0i uY4ZTaWMRyjbRFV1onR+lGHmdN0U1NgZK2azl1b0h7hqFYD7TQ/gJndEugIay62l88H5M kL+MNt8TensTwsgMna63s++NdEV6e/RiP6AqBgUvCSJcOul15T11cXv/dMo0Jd0IF/Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795587235; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=RebRu2g/z31wGx+2OCPyrPhThAdN2yCx9u1zbQ7clX4=; b=pAmBl6Q0JvLhFiNlSWKBxO1lO7l1PgAitwhAdxlq1oY+QbjfWtRWnwBA+iTcgdHy2HZ2 GT09SwVxmyEgdCL/vZP13go18vn8PIIUGVsn5AqWh3EaFs0plGeIbx0uIXyrT7iFlX89v oIzw2eWaL8hibKMEY7vuIB+cn5u2eJ3a1Hu00+Ij41I2TORkeJkqozt09BRXzs0NHSG0i 9XQzAwG4Khpq/EMrHKcdISasOT92v1FpLDkjl0CnnyB91nVsBTtPPjBs4BTmk0FcKyxxY B3PpVbJv42fNjTInCtKlyuGmv0tRvE/PDw+IPA9V9HTYi+wmiCIR3Arxum7TWc6/kNA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b="sbfW4h2/"; arc=none smtp.remote-ip=198.137.202.133 X-Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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.subspace.kernel.org (Postfix) with ESMTPS id 37027606A697; Wed, 25 Nov 2026 06:13:55 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 37027606A697 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=RebRu2g/z31wGx+2OCPyrPhThAdN2yCx9u1zbQ7clX4=; b=sbfW4h2/B6I9JDHOZSZ9flrwqH bhgZPywMW/8HTQaTMbMZKWKRmF/u4H8iCdmE2NXlrIG4l3MwtdK3OE1zXboVyKtO4xeMZ0w0La58S NUE75yCeRbWpCVAQjyZpaIf80DbRSUhaAoWrrqLcAWR8iu4WOHNah3s4A4nj0JBDNqnhlSL3vIUzn zDTTHK+2eUQZNijcwbCFLcBgvYFCfQ6LtgapA4kghONZMaWOka0RBTX02MgSmk/fuJzJpuoxgBYne nZ/aqBW5VeYLOcer0h7Ymqf3LabTYXxS5PH5V6a/fF6uEcyOJXuoXqnamYCYTvhmMUeoOMSzKcIBX rGjDwO8A==; X-Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xW6GQ-00000008Wvh-0lyd; Wed, 25 Nov 2026 06:13:54 +0000 X-Cc: Randy Dunlap <rdunlap@infradead.org>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>, linux-doc@vger.kernel.org, David Hildenbrand <david@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Jason Gunthorpe <jgg@nvidia.com>, Leon Romanovsky <leonro@nvidia.com>, linux-mm@kvack.org, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, linux-sound@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org, Marcel Holtmann <marcel@holtmann.org>, Luiz Augusto von Dentz <luiz.dentz@gmail.com>, linux-bluetooth@vger.kernel.org, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Jason Wang <jasowangio@gmail.com>, David Heidelberg <david@ixit.cz>, oe-linux-nfc@lists.linux.dev, Chas Williams <3chas3@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, netdev@vger.kernel.org, Helge Deller <deller@gmx.de>, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, MPT-FusionLinux.pdl@broadcom.com, "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>, "Martin K. Petersen" <mkp@kernel.org>, linux-scsi@vger.kernel.org, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Zhihao Cheng <chengzhihao1@huawei.com>, linux-mtd@lists.infradead.org, Neill Kapron <nkapron@google.com>, Andrey Konovalov <andreyknvl@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-usb@vger.kernel.org, Juergen Gross <jgross@suse.com>, Stefano Stabellini <sstabellini@kernel.org>, xen-devel@lists.xenproject.org, Hans de Goede <hansg@kernel.org>, Arnd Bergmann <arnd@arndb.de>, "Michael S. Tsirkin" <mst@redhat.com>, Eugenio Pérez <eperezma@redhat.com>, Sean Christopherson <seanjc@google.com>, Paolo Bonzini <pbonzini@redhat.com>, kvm@vger.kernel.org, virtualization@lists.linux.dev, Jan Kara <jack@suse.cz>, linux-fsdevel@vger.kernel.org, "Theodore Ts'o" <tytso@mit.edu>, linux-ext4@vger.kernel.org, Mike Marshall <hubcap@omnibond.com>, devel@lists.orangefs.org, Paulo Alcantara <pc@manguebit.org>, Namjae Jeon <linkinjeon@kernel.org>, linux-cifs@vger.kernel.org, Jaegeuk Kim <jaegeuk@kernel.org>, Chao Yu <chao@kernel.org>, linux-f2fs-devel@lists.sourceforge.net, Florian Fainelli <florian.fainelli@broadcom.com>, Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>, Tzung-Bi Shih <tzungbi@kernel.org>, Benson Leung <bleung@chromium.org>, David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>, Alex Deucher <alexander.deucher@amd.com>, Christian König <christian.koenig@amd.com>, amd-gfx@lists.freedesktop.org, Jani Nikula <jani.nikula@linux.intel.com>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tursulin@ursulin.net>, intel-gfx@lists.freedesktop.org, Matthew Brost <matthew.brost@intel.com>, Thomas Hellström <thomas.hellstrom@linux.intel.com>, intel-xe@lists.freedesktop.org X-Mailer: git-send-email 2.56.1 X-In-Reply-To: <20261125061340.3402300-1-rdunlap@infradead.org> 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