From nobody Mon Jun 29 20:20:28 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gpyMK1KpQz6jnmN for ; Mon, 29 Jun 2026 20:20:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gpyMK0MZKz3KJr for ; Mon, 29 Jun 2026 20:20:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782764429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NtHhUOHWTW3y+E/lLjO6hZ63yEBJoZPOpfNqWqwrNG8=; b=yrL9aiVtmVY9RR38zTbJ5rTqOwMSwgwbG3NAo5/LusgW5js1n5SDEAbAFcMdcYWBL4a7zZ O2qiTfN62xnsQvBV5wlCE4SxlUQQ4Qeusd15GjC8ifgUugMl8ZYIYE3Da3c9cydYRrVDKN Q8Yz5AAk5CDnyp8NlHUdmdugGlgZMGeWHEzjLO9DTju+sl7G1ETgHJ2rjrqmfpJv7Qo2Hv TpTRaxcFvxRoXQkwsHT2P2WEkZFq13kgmNGXc6NdiYd/TA18gR0G9r4m1gXqN9kxkuzctH Y02ywHLucxAKOXPUMEwqqAyqvrSf7Aib8SbtPY+5g9R9CfAK8FYN66kV2Jv3iQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782764429; a=rsa-sha256; cv=none; b=gjVCfoZePo3xpzvOd1p17DVLc2nzxh6nx47re67rVKZcjeRTPlwgJL6sQ7mj7Ii59UOGeB 42FTW6T+Q+PwOj4XsuHGwWOhEK32kWE0e/nKT9rWLZGReoWnvmN/SW+teEDPwrbte4XUFv z6qXi9YbUJvKgBt8yhKPKatlJb2wKKIBLSWwpVn22G9pLT2TMrSg97GA8ak62936W7lgJG YYV8r8NpPXgRvgNdIPbMtRQ8zAwuDZJChOT5IXXXZBcXj0wrpXLXnHdniRKoxHzcN/5IuZ GFV3C6Oxt6OEBBGfETaavlIrooq/7yRizCefArPhEI7iOibxvObIaNwDjrlG+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782764429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NtHhUOHWTW3y+E/lLjO6hZ63yEBJoZPOpfNqWqwrNG8=; b=iLKF+kCG9yRaZEXgNdrXWe2RtEEA+/EvS0NvmMZAqEwRE0J3VfJiiR9LofhSF1DL7k0i6B JFGGR3WJvnowyYD6TOq0azDHqLEYM3nlLPLLoBDuFThCN7fTaBm5y3fv5a9Lr90fcN2ytf wmkUKz4AL2wzEM/bGxHGnTRho6w9ieGAWkA4mGQI13HugCtbq+pRzHopN94/h4+Abd85RT 4IGceTYkyo9DtjxRJjJk6dUDGCDazFSAWuZ4+fVNGU0BYWqu2Qiph8EcoGODpIvu2Vpo3U kIOKPzHDB+NGbartpXpA6f0tFabR+356WxO5uHqvbkNV5e2ABr7CvzZ3PPT/sA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gpyMJ6LPBz1BB1 for ; Mon, 29 Jun 2026 20:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 276c8 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 29 Jun 2026 20:20:28 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: f9a0147ee56e - main - protocols: remove IPPROTO_DIVERT List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f9a0147ee56e002fe31f155dcb2a7042f5b20a7e Auto-Submitted: auto-generated Date: Mon, 29 Jun 2026 20:20:28 +0000 Message-Id: <6a42d38c.276c8.7748f48e@gitrepo.freebsd.org> The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=f9a0147ee56e002fe31f155dcb2a7042f5b20a7e commit f9a0147ee56e002fe31f155dcb2a7042f5b20a7e Author: Gleb Smirnoff AuthorDate: 2026-06-29 20:14:00 +0000 Commit: Gleb Smirnoff CommitDate: 2026-06-29 20:20:02 +0000 protocols: remove IPPROTO_DIVERT --- lib/libc/net/protocols | 1 - sys/netinet/in.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/lib/libc/net/protocols b/lib/libc/net/protocols index 6fa47a5e3590..52a0dfe31a17 100644 --- a/lib/libc/net/protocols +++ b/lib/libc/net/protocols @@ -156,4 +156,3 @@ bit-emu 147 BIT-EMU # Bit-stream Emulation (RFC9801) pfsync 240 PFSYNC # PF Synchronization [non IANA] # 253-254 # Use for experimentation and testing (RFC3692) # 255 # Reserved -divert 258 DIVERT # Divert pseudo-protocol [non IANA] diff --git a/sys/netinet/in.h b/sys/netinet/in.h index fc30228422f3..94f4bb682489 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -248,15 +248,12 @@ __END_DECLS #define IPPROTO_RESERVED_253 253 /* Reserved */ #define IPPROTO_RESERVED_254 254 /* Reserved */ /* 255: Reserved */ -/* BSD Private, local use, namespace incursion, no longer used */ -#define IPPROTO_OLD_DIVERT 254 /* OLD divert pseudo-proto */ #define IPPROTO_MAX 256 /* last return value of *_input(), meaning "all job for this pkt is done". */ #define IPPROTO_DONE 257 /* Only used internally, so can be outside the range of valid IP protocols. */ -#define IPPROTO_DIVERT 258 /* divert pseudo-protocol */ #define IPPROTO_SEND 259 /* SeND pseudo-protocol */ /*