diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-08-03 12:12:22 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-08-03 12:12:22 +0000 |
commit | acaff9b658720e4c887f4e44e6f28962d6f372d3 (patch) | |
tree | 250ed57b18e220d4944114491913723c2d508f89 /sysdeps | |
parent | bdf20beac183c705abef5aef8de2db5fac00bc8b (diff) | |
download | glibc-acaff9b658720e4c887f4e44e6f28962d6f372d3.zip glibc-acaff9b658720e4c887f4e44e6f28962d6f372d3.tar.gz glibc-acaff9b658720e4c887f4e44e6f28962d6f372d3.tar.bz2 |
Define PF_QIPCRTR, AF_QIPCRTR from Linux 4.7 in bits/socket.h.
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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. |