]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 27 Sep 2019 13:37:36 +0000 (13:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 27 Sep 2019 13:37:36 +0000 (13:37 +0000)
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.

ChangeLog
sysdeps/gnu/netinet/tcp.h

index 31e49765bafe0050f5a25ed34ee584d611f6916a..ff5692af33e9b6115f9cebaceea93bea8cca9f8d 100644 (file)
--- 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
index 1a164a9649bb48d7e1a74ad0bd29f0ec0e676079..41ca11b5f50853562ff6698cafb73cd8a79b14cc 100644 (file)
@@ -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