From 9a44050e745685c1e703b4402ef3df855ef6de80 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 27 Sep 2019 13:37:36 +0000 Subject: 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. --- ChangeLog | 4 ++++ sysdeps/gnu/netinet/tcp.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 31e49765ba..ff5692af33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-09-27 Joseph Myers + + * sysdeps/gnu/netinet/tcp.h (TCP_TX_DELAY): New macro. + 2019-09-26 Lukasz Majewski * 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 -- cgit 1.4.1