[hurd,commited] hurd: define SO_TIMESTAMP in socket.h

Samuel Thibault samuel.thibault@ens-lyon.org
Sun May 31 19:56:25 GMT 2026


From: Diego Nieto Cid <dnietoc@gmail.com>

* sysdeps/mach/hurd/bits/socket.h: add SO_TIMESTAMP enum entry
  and define corresponding preprocessor macro.
Message-ID: <20260531195342.1633-1-dnietoc@gmail.com>
---
 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..15733df61a 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



More information about the Libc-alpha mailing list