about summary refs log tree commit diff
path: root/sysdeps/gnu/netinet
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 /sysdeps/gnu/netinet
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.
Diffstat (limited to 'sysdeps/gnu/netinet')
-rw-r--r--sysdeps/gnu/netinet/tcp.h1
1 files changed, 1 insertions, 0 deletions
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