Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h

Joseph Myers joseph@codesourcery.com
Fri Sep 20 20:29:00 GMT 2019


This patch adds the new TCP_TX_DELAY constant from Linux 5.3 to
sysdeps/gnu/netinet/tcp.h.

Tested for x86_64.

2019-09-20  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro.

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

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list