From patchwork Mon Oct 3 17:46:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 16216 Received: (qmail 93451 invoked by alias); 3 Oct 2016 17:47:10 -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 93428 invoked by uid 89); 3 Oct 2016 17:47:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=__use_misc, __USE_MISC, Hx-languages-length:797 X-HELO: relay1.mentorg.com Date: Mon, 3 Oct 2016 17:46:49 +0000 From: Joseph Myers To: Subject: Add TCP_REPAIR_WINDOW from Linux 4.8 Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) Linux 4.8 adds TCP_REPAIR_WINDOW to include/uapi/linux/tcp.h. This patch adds it to sysdeps/gnu/netinet/tcp.h accordingly. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). 2016-10-03 Joseph Myers * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro. diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h index 3fbea54..a00b425 100644 --- a/sysdeps/gnu/netinet/tcp.h +++ b/sysdeps/gnu/netinet/tcp.h @@ -69,6 +69,7 @@ connections. */ #define TCP_SAVED_SYN 28 /* Get SYN headers recorded for connection. */ +#define TCP_REPAIR_WINDOW 29 /* Get/set window parameters. */ #ifdef __USE_MISC # include