summaryrefslogtreecommitdiffstats
path: root/src/win/winapi.h
diff options
context:
space:
mode:
authorlibuv upstream <libuv@googlegroups.com>2020-09-23 03:14:46 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-23 16:10:04 (GMT)
commitc1463f959f7445207d932ec7640d77aebc2a6498 (patch)
tree2004870ee53a121e842301268c2a11d6bf5a1cac /src/win/winapi.h
parentd355f401d79848a80acc0df296f168bad28d5c95 (diff)
downloadCMake-c1463f959f7445207d932ec7640d77aebc2a6498.zip
CMake-c1463f959f7445207d932ec7640d77aebc2a6498.tar.gz
CMake-c1463f959f7445207d932ec7640d77aebc2a6498.tar.bz2
libuv 2020-09-22 (ed5b42d5)
Code extracted from: https://github.com/libuv/libuv.git at commit ed5b42d5b70b69f4c84f99e4112233375b17d6a4 (v1.x).
Diffstat (limited to 'src/win/winapi.h')
-rw-r--r--src/win/winapi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/win/winapi.h b/src/win/winapi.h
index cbe1437..0b66b56 100644
--- a/src/win/winapi.h
+++ b/src/win/winapi.h
@@ -4726,6 +4726,18 @@ typedef HWINEVENTHOOK (WINAPI *sSetWinEventHook)
DWORD idThread,
UINT dwflags);
+/* From mstcpip.h */
+typedef struct _TCP_INITIAL_RTO_PARAMETERS {
+ USHORT Rtt;
+ UCHAR MaxSynRetransmissions;
+} TCP_INITIAL_RTO_PARAMETERS, *PTCP_INITIAL_RTO_PARAMETERS;
+
+#ifndef TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS
+# define TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS ((UCHAR) -2)
+#endif
+#ifndef SIO_TCP_INITIAL_RTO
+# define SIO_TCP_INITIAL_RTO _WSAIOW(IOC_VENDOR,17)
+#endif
/* Ntdll function pointers */
extern sRtlGetVersion pRtlGetVersion;