This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.28.9000-81-g38b0593
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Aug 2018 17:23:16 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.28.9000-81-g38b0593
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 38b0593e9a862c3b35392a0f5b202696b8116aa3 (commit)
from 5cd7dbdea13eb302620491ef44837b17e9d39c5a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=38b0593e9a862c3b35392a0f5b202696b8116aa3
commit 38b0593e9a862c3b35392a0f5b202696b8116aa3
Author: Tobias Klauser <tklauser@distanz.ch>
Date: Tue Aug 21 17:22:53 2018 +0000
Add PF_XDP, AF_XDP and SOL_XDP from Linux 4.18 to bits/socket.h.
This patch adds the PF_XDP, AF_XDP and SOL_XDP macros from Linux 4.18 to
sysdeps/unix/sysv/linux/bits/socket.h.
* sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
(PF_XDP): New macro.
(AF_XDP): New macro.
(SOL_XDP): New macro.
diff --git a/ChangeLog b/ChangeLog
index c3b40c5..2d713d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-08-21 Tobias Klauser <tklauser@distanz.ch>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
+ (PF_XDP): New macro.
+ (AF_XDP): New macro.
+ (SOL_XDP): New macro.
+
2018-08-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index fa409f0..c3fbb21 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -85,7 +85,8 @@ typedef __socklen_t socklen_t;
#define PF_KCM 41 /* Kernel Connection Multiplexor. */
#define PF_QIPCRTR 42 /* Qualcomm IPC Router. */
#define PF_SMC 43 /* SMC sockets. */
-#define PF_MAX 44 /* For now.. */
+#define PF_XDP 44 /* XDP sockets. */
+#define PF_MAX 45 /* For now.. */
/* Address families. */
#define AF_UNSPEC PF_UNSPEC
@@ -135,6 +136,7 @@ typedef __socklen_t socklen_t;
#define AF_KCM PF_KCM
#define AF_QIPCRTR PF_QIPCRTR
#define AF_SMC PF_SMC
+#define AF_XDP PF_XDP
#define AF_MAX PF_MAX
/* Socket level values. Others are defined in the appropriate headers.
@@ -164,6 +166,7 @@ typedef __socklen_t socklen_t;
#define SOL_NFC 280
#define SOL_KCM 281
#define SOL_TLS 282
+#define SOL_XDP 283
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 128
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
sysdeps/unix/sysv/linux/bits/socket.h | 5 ++++-
2 files changed, 11 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources