]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define PF_QIPCRTR, AF_QIPCRTR from Linux 4.7 in bits/socket.h.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 3 Aug 2016 12:12:22 +0000 (12:12 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 3 Aug 2016 12:12:22 +0000 (12:12 +0000)
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).

* sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
(PF_MAX): Update value.
(AF_QIPCRTR): New macro.

ChangeLog
sysdeps/unix/sysv/linux/bits/socket.h

index bebb915876fbd07c6e81a8f4eee6b4f24460bd35..63673cfd32e653df9bf9b90bc2420026d00bc8ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-03  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
+       (PF_MAX): Update value.
+       (AF_QIPCRTR): New macro.
+
 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
 
        * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
index 2eb95f7e20b8b68685ac2363b4b2db72cab8d98a..2266047e048be406c7e908f9d01077a2f9e5fb07 100644 (file)
@@ -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.