From patchwork Tue Aug 2 20:11:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 14253 Received: (qmail 57277 invoked by alias); 2 Aug 2016 20:11:23 -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 57268 invoked by uid 89); 2 Aug 2016 20:11:22 -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 autolearn=ham version=3.3.2 spammy=families, 1316, 131, 6, socketh X-HELO: relay1.mentorg.com Date: Tue, 2 Aug 2016 20:11:08 +0000 From: Joseph Myers To: Subject: Define PF_QIPCRTR, AF_QIPCRTR from Linux 4.7 in bits/socket.h Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 This patch adds the new PF_QIPCRTR and AF_QIPCRTR from Linux 4.7 to sysdeps/unix/sysv/linux/bits/socket.h. Tested for x86_64 and x86 (testsuite, and that installed stripped shared libraries are unchanged by the patch). 2016-08-02 Joseph Myers * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro. (PF_MAX): Update value. (AF_QIPCRTR): New macro. diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 2eb95f7..2266047 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -83,7 +83,8 @@ typedef __socklen_t socklen_t; #define PF_NFC 39 /* NFC sockets. */ #define PF_VSOCK 40 /* vSockets. */ #define PF_KCM 41 /* Kernel Connection Multiplexor. */ -#define PF_MAX 42 /* For now.. */ +#define PF_QIPCRTR 42 /* Qualcomm IPC Router. */ +#define PF_MAX 43 /* For now.. */ /* Address families. */ #define AF_UNSPEC PF_UNSPEC @@ -131,6 +132,7 @@ typedef __socklen_t socklen_t; #define AF_NFC PF_NFC #define AF_VSOCK PF_VSOCK #define AF_KCM PF_KCM +#define AF_QIPCRTR PF_QIPCRTR #define AF_MAX PF_MAX /* Socket level values. Others are defined in the appropriate headers.