From patchwork Tue Feb 21 17:26:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 730702 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3vSS9G1Ys9z9s73 for ; Wed, 22 Feb 2017 04:26:58 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="wzv8b1+A"; dkim-atps=neutral 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=QZt+qeq81bglhIhdBD69sa31BxLpx JbkBsL8s5Y/7giX06SepXazdehfCZ3qVeXyU2i1C9sGWs9EmaFrCQbIxDW9nl1GB u6g0F8P0AbHUHnHeX3MvjemfVZijATEusVFEM2WKqWxmSjMMSL2ShLuzbPzrx9hg sottHas4FWl7es= 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=9OKr+l0IBT8dKmHFbMB29wDf9OE=; b=wzv 8b1+A3NoDEft+vtNt0/ePM3qEF4Om2PkSIzXksRLoGyuqeKUdt049M31kzq+m3tp pF2rOE1UF0+KYPIP80ABE9i07pdCgJ5uMuBV2LcMk4MxsMNHqTURFND222OtCmWr yragqzhHboPGkm882TFDHDoJW1lFNi25gRC50CdA= Received: (qmail 71797 invoked by alias); 21 Feb 2017 17:26:51 -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 71784 invoked by uid 89); 21 Feb 2017 17:26:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:770 X-HELO: relay1.mentorg.com Date: Tue, 21 Feb 2017 17:26:40 +0000 From: Joseph Myers To: Subject: Add IP_RECVFRAGSIZE from Linux 4.10 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.10 adds a new IP_RECVFRAGSIZE macro to include/uapi/linux/in.h. This patch adds it to glibc's sysdeps/unix/sysv/linux/bits/in.h. Tested for x86_64. 2017-02-21 Joseph Myers * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro. diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h index 483b756..cd7fd31 100644 --- a/sysdeps/unix/sysv/linux/bits/in.h +++ b/sysdeps/unix/sysv/linux/bits/in.h @@ -101,6 +101,7 @@ #define IP_NODEFRAG 22 #define IP_CHECKSUM 23 #define IP_BIND_ADDRESS_NO_PORT 24 +#define IP_RECVFRAGSIZE 25 /* IP_MTU_DISCOVER arguments. */ #define IP_PMTUDISC_DONT 0 /* Never send DF frames. */