[PATCH glibc v2] hurd: define SO_TIMESTAMP in socket.h
[email protected] Sun, 31 May 2026 16:53:42 -0300
Newsgroups
gmane.os.hurd.bugs
Message-ID
<[email protected] >
From: Diego Nieto Cid <[email protected] >
* sysdeps/mach/hurd/bits/socket.h: add SO_TIMESTAMP enum entry
and define corresponding preprocessor macro.
---
sysdeps/mach/hurd/bits/socket.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
index fb73dea063..281a75a564 100644
--- a/sysdeps/mach/hurd/bits/socket.h
+++ b/sysdeps/mach/hurd/bits/socket.h
@@ -364,6 +364,8 @@ enum
#define SO_OOBINLINE SO_OOBINLINE
SO_REUSEPORT = 0x0200, /* Allow local address and port reuse. */
#define SO_REUSEPORT SO_REUSEPORT
+ SO_TIMESTAMP = 0x0400 /* Timestamp received dgram traffic */
+#define SO_TIMESTAMP SO_TIMESTAMP
SO_SNDBUF = 0x1001, /* Send buffer size. */
#define SO_SNDBUF SO_SNDBUF
SO_RCVBUF = 0x1002, /* Receive buffer. */
--
2.53.0