From patchwork Fri Sep 20 20:29:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1165437 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-105300-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="TUuuqAUU"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46ZlgX2WPMz9s4Y for ; Sat, 21 Sep 2019 06:29:28 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=jaEdrjfCGnMdWR1euzEIkS3Gh+c86 coYwOh7KODe0ZxsSf/7w1DseZEYwkyqKz4D6aPw1C4JFxmGPL4hTz9smX+AbUWgq UfwTFFim12K4qljJEgmIxEpH/wm7chjak1F2dcoR+mli6t+WvbFWs3yAC0kCrByg yMgC4Zu3rrA3To= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=YTTFD2vkE+pJSDPI7w8kaewgnRQ=; b=TUu uqAUU+FwbxOnDnt3GX7QGT5AsSuqVkwy0drCBKI4QT1JUG/BBjheogZ4caCJtuR+ d8Ei1xOZ3E6qSAgiEIgS5FhlZqRVFeQJ04nD9fmOPA8U/ATwdimF6M0bcJbZoKHf vcUNSGHA9UxXfiSKsDzfdlPhtg4u4JWkXw+tXJRc= Received: (qmail 49541 invoked by alias); 20 Sep 2019 20:29:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 49532 invoked by uid 89); 20 Sep 2019 20:29:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 spammy=Notify, Delay X-HELO: esa3.mentor.iphmx.com IronPort-SDR: lnChqFRW9vpBs2sNSsodkZEoY+tLR2k6VcD2yHxlJCz9cR+UGhUQKzCv5PrQ4TEYYU5qKzYQIS Db8WfW9yTbBaOMSwxiyNyQv4JIFjL1a0EGJTAs/QRs3nE0QXwnjUfDblxwv5C9rtBPzew5KhXX kvYTl7HB5J+1PjmsW+ZiqYVSCFbSBQ5xnFd0Epat8Vwe5jpWS10wJa3qbz9EZNSZzZdUmZx9Jq smBvKXdiwsnrqDpzCyGaucsBAfwSLha+ZLi93hkOeHCwrVgyJkLIXcGFmFAmI1Qpu2r4t5MVaQ eW0= IronPort-SDR: NLnAOG2qckmrRcxtCpq7N6NFGzovinImDT4OoiEW1MxLTmebrQSw8nnR15+X8IGe2dA20H1SbB tpnNnWzk9Huo9QuxaZhJrFoQDw3x9dd3KFyoLfrF2BHJkT5UAdI1XVma6bSefxKksax1LHDpI+ qEm9XaRqoqrtXW8yiQj0QFV3Zmy0Etx5/K4wotOKC4ShHF8hIXz8a7XXIhSd5DaLPRP4ix4MkE nhlAW22QX4Ec/4NdbLxgBN67uZveTvxXWwHsgcbkhZBnB+p99c8ZSHwiQvuwObxsJRWiXFYlw5 ykw= Date: Fri, 20 Sep 2019 20:29:15 +0000 From: Joseph Myers To: Subject: Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 This patch adds the new TCP_TX_DELAY constant from Linux 5.3 to sysdeps/gnu/netinet/tcp.h. Tested for x86_64. 2019-09-20 Joseph Myers * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro. Reviewed-by: Carlos O'Donell diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h index 1a164a9649..41ca11b5f5 100644 --- a/sysdeps/gnu/netinet/tcp.h +++ b/sysdeps/gnu/netinet/tcp.h @@ -79,6 +79,7 @@ #define TCP_INQ 36 /* Notify bytes available to read as a cmsg on read. */ #define TCP_CM_INQ TCP_INQ +#define TCP_TX_DELAY 37 /* Delay outgoing packets by XX usec. */ #define TCP_REPAIR_ON 1 #define TCP_REPAIR_OFF 0