aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-11-19 15:25:49 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-11-19 15:25:49 +0000
commit48a88a4ee95a725a435a817401ea4c0d9c990cd1 (patch)
treed8799fa2b174f8213eef5474b3cf5f37ea3074fb
parent590e7a0eb5b96225a2b856403b731ed9b063c030 (diff)
socket: Move SO_SPLICE next to other socket option constants
Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D47626
-rw-r--r--sys/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index a1b220ce4bae..cc82d97e9dd5 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -171,10 +171,10 @@ typedef __uintptr_t uintptr_t;
#define SO_TS_CLOCK 0x1017 /* clock type used for SO_TIMESTAMP */
#define SO_MAX_PACING_RATE 0x1018 /* socket's max TX pacing rate (Linux name) */
#define SO_DOMAIN 0x1019 /* get socket domain */
+#define SO_SPLICE 0x1023 /* splice data to other socket */
#endif
#if __BSD_VISIBLE
-#define SO_SPLICE 0x1023 /* splice data to other socket */
#define SO_TS_REALTIME_MICRO 0 /* microsecond resolution, realtime */
#define SO_TS_BINTIME 1 /* sub-nanosecond resolution, realtime */
#define SO_TS_REALTIME 2 /* nanosecond resolution, realtime */