This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Fri, 20 Sep 2019 20:29:15 +0000
- Subject: Add TCP_TX_DELAY from Linux 5.3 to netinet/tcp.h
- Ironport-sdr: lnChqFRW9vpBs2sNSsodkZEoY+tLR2k6VcD2yHxlJCz9cR+UGhUQKzCv5PrQ4TEYYU5qKzYQIS Db8WfW9yTbBaOMSwxiyNyQv4JIFjL1a0EGJTAs/QRs3nE0QXwnjUfDblxwv5C9rtBPzew5KhXX kvYTl7HB5J+1PjmsW+ZiqYVSCFbSBQ5xnFd0Epat8Vwe5jpWS10wJa3qbz9EZNSZzZdUmZx9Jq smBvKXdiwsnrqDpzCyGaucsBAfwSLha+ZLi93hkOeHCwrVgyJkLIXcGFmFAmI1Qpu2r4t5MVaQ eW0=
- Ironport-sdr: NLnAOG2qckmrRcxtCpq7N6NFGzovinImDT4OoiEW1MxLTmebrQSw8nnR15+X8IGe2dA20H1SbB tpnNnWzk9Huo9QuxaZhJrFoQDw3x9dd3KFyoLfrF2BHJkT5UAdI1XVma6bSefxKksax1LHDpI+ qEm9XaRqoqrtXW8yiQj0QFV3Zmy0Etx5/K4wotOKC4ShHF8hIXz8a7XXIhSd5DaLPRP4ix4MkE nhlAW22QX4Ec/4NdbLxgBN67uZveTvxXWwHsgcbkhZBnB+p99c8ZSHwiQvuwObxsJRWiXFYlw5 ykw=
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