This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
[glibc] Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h.
- From: Joseph Myers <jsm28 at sourceware dot org>
- To: glibc-cvs at sourceware dot org
- Date: 27 Sep 2019 13:37:55 -0000
- Subject: [glibc] Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9a44050e745685c1e703b4402ef3df855ef6de80
commit 9a44050e745685c1e703b4402ef3df855ef6de80
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Sep 27 13:37:36 2019 +0000
Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h.
This patch adds the new TCP_TX_DELAY constant from Linux 5.3 to
sysdeps/gnu/netinet/tcp.h.
Tested for x86_64.
* sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
Diff:
---
ChangeLog | 4 ++++
sysdeps/gnu/netinet/tcp.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 31e4976..ff5692a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-27 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.
+
2019-09-26 Lukasz Majewski <lukma@denx.de>
* include/time.h: Add struct __timespec64 definition
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index 1a164a9..41ca11b 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -79,6 +79,7 @@
#define TCP_INQ 36 /* Notify bytes available to read
as a cmsg on read. */
#define TCP_CM_INQ TCP_INQ
+#define TCP_TX_DELAY 37 /* Delay outgoing packets by XX usec. */
#define TCP_REPAIR_ON 1
#define TCP_REPAIR_OFF 0