aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2026-06-29 20:14:00 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2026-06-29 20:20:02 +0000
commitf9a0147ee56e002fe31f155dcb2a7042f5b20a7e (patch)
treeec63920bc028f3178661a0debf33e38edde37ca9
parentbcf4e3c001f5ec9cc206b0d81f0954559d1424d8 (diff)
protocols: remove IPPROTO_DIVERT
-rw-r--r--lib/libc/net/protocols1
-rw-r--r--sys/netinet/in.h3
2 files changed, 0 insertions, 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 */
/*