The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f9a0147ee56e002fe31f155dcb2a7042f5b20a7e

commit f9a0147ee56e002fe31f155dcb2a7042f5b20a7e
Author:     Gleb Smirnoff <[email protected]>
AuthorDate: 2026-06-29 20:14:00 +0000
Commit:     Gleb Smirnoff <[email protected]>
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 
*/
 
 /*

Reply via email to