about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-09-27 13:37:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-09-27 13:37:36 +0000
commit9a44050e745685c1e703b4402ef3df855ef6de80 (patch)
tree7dd07a8865603aa6164e9fc828d202263cd4c22b
parent464cd3a9d5f505d92bae9a941bb75b0d91ac14ee (diff)
downloadglibc-9a44050e745685c1e703b4402ef3df855ef6de80.tar.gz
glibc-9a44050e745685c1e703b4402ef3df855ef6de80.tar.xz
glibc-9a44050e745685c1e703b4402ef3df855ef6de80.zip
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/gnu/netinet/tcp.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 31e49765ba..ff5692af33 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 1a164a9649..41ca11b5f5 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