]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: define SO_TIMESTAMP in socket.h
authorDiego Nieto Cid <dnietoc@gmail.com>
Sun, 31 May 2026 19:53:42 +0000 (16:53 -0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 31 May 2026 19:55:26 +0000 (21:55 +0200)
* 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

index fb73dea063d43a01571123c3ef134fc8fa82bf6c..15733df61ab8779b0171a13c638a2687de770d4b 100644 (file)
@@ -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.  */