From patchwork Sun May 31 19:56:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 136143 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 704984BA2E21 for ; Sun, 31 May 2026 19:58:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 704984BA2E21 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id 98E6D4BA2E31 for ; Sun, 31 May 2026 19:56:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 98E6D4BA2E31 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 98E6D4BA2E31 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=140.77.166.138 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780257388; cv=none; b=doOTeDvhZJV55s5a5MTHymzZ8JDeY9/j6iBgo7HOeXsYw+eblM7ww0SdM1dvwYPeJnvT2i1iresH821f9oBXK58aUal5Sl4y5GKo+ywH2+a8IKmVN6tZM0bzzUFnivNV6OQA8OPAALU9PqPUGYQpw9+9w80MFJrf5mDG0fhvpnU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780257388; c=relaxed/simple; bh=tZbQzNSYcvmM1lESvK+DOOLITfTuc/pI/QiQt871tWk=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=I/EYoX4h+bGa04B9oAGah8eb8jcDQakWgRJHs5U2T9GT/6bbbHwheVFFJ9JqzS2EEPwVrMsDwcj3TeNN9YNGv71tvriXVcTLoZhpbokj5+fxZ4QX8pjNG0WEknAKUiQoroYptVWeqSDkQsWACvqCIkR8b4iInc+y9LSPd11Um20= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 98E6D4BA2E31 Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id AF8C2A042D; Sun, 31 May 2026 21:56:26 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c3AG8ZxZZL2k; Sun, 31 May 2026 21:56:26 +0200 (CEST) Received: from end (aamiens-653-1-40-48.w83-192.abo.wanadoo.fr [83.192.199.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 944F0A0411; Sun, 31 May 2026 21:56:26 +0200 (CEST) Received: from samy by end with local (Exim 4.99.3) (envelope-from ) id 1wTmGo-0000000FK4p-0Bi5; Sun, 31 May 2026 21:56:26 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Diego Nieto Cid , commit-hurd@gnu.org Subject: [hurd,commited] hurd: define SO_TIMESTAMP in socket.h Date: Sun, 31 May 2026 21:56:25 +0200 Message-ID: <20260531195625.3652088-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_PBL, SPF_HELO_PASS, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org From: Diego Nieto Cid * 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. */