This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add TCP_REPAIR_WINDOW from Linux 4.8
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Mon, 3 Oct 2016 17:46:49 +0000
- Subject: Add TCP_REPAIR_WINDOW from Linux 4.8
- Authentication-results: sourceware.org; auth=none
Linux 4.8 adds TCP_REPAIR_WINDOW to include/uapi/linux/tcp.h. This
patch adds it to sysdeps/gnu/netinet/tcp.h accordingly.
Tested for x86_64 and x86 (testsuite, and that installed shared
libraries are unchanged by the patch).
2016-10-03 Joseph Myers <joseph@codesourcery.com>
* sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index 3fbea54..a00b425 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -69,6 +69,7 @@
connections. */
#define TCP_SAVED_SYN 28 /* Get SYN headers recorded for
connection. */
+#define TCP_REPAIR_WINDOW 29 /* Get/set window parameters. */
#ifdef __USE_MISC
# include <sys/types.h>
--
Joseph S. Myers
joseph@codesourcery.com