Alistair Leslie-Hughes : ws2_32: Trace SIO_IDEAL_SEND_BACKLOG_* calls.

Alexandre Julliard julliard at winehq.org
Tue Jul 14 16:23:37 CDT 2020


Module: wine
Branch: master
Commit: da6386df8b759672e051304711bb6a5dc6ce9bd2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=da6386df8b759672e051304711bb6a5dc6ce9bd2

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Tue Jul 14 09:03:47 2020 +1000

ws2_32: Trace SIO_IDEAL_SEND_BACKLOG_* calls.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ws2_32/socket.c | 4 ++--
 include/ws2ipdef.h   | 8 ++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 69fbb37af2..d7eddde44d 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -4554,8 +4554,8 @@ static const char *debugstr_wsaioctl(DWORD code)
         IOCTL_NAME(WS_SIO_GET_INTERFACE_LIST);
         /* IOCTL_NAME(WS_SIO_GET_INTERFACE_LIST_EX); */
         IOCTL_NAME(WS_SIO_GET_QOS);
-        /* IOCTL_NAME(WS_SIO_IDEAL_SEND_BACKLOG_CHANGE);
-        IOCTL_NAME(WS_SIO_IDEAL_SEND_BACKLOG_QUERY); */
+        IOCTL_NAME(WS_SIO_IDEAL_SEND_BACKLOG_CHANGE);
+        IOCTL_NAME(WS_SIO_IDEAL_SEND_BACKLOG_QUERY);
         IOCTL_NAME(WS_SIO_KEEPALIVE_VALS);
         IOCTL_NAME(WS_SIO_MULTIPOINT_LOOPBACK);
         IOCTL_NAME(WS_SIO_MULTICAST_SCOPE);
diff --git a/include/ws2ipdef.h b/include/ws2ipdef.h
index 4cae361e5f..fc46580496 100644
--- a/include/ws2ipdef.h
+++ b/include/ws2ipdef.h
@@ -282,6 +282,14 @@ typedef struct WS(in_pktinfo) {
 
 #define SS_PORT(ssp) (((PSOCKADDR_IN)(ssp))->sin_port)
 
+#ifndef USE_WS_PREFIX
+#define SIO_IDEAL_SEND_BACKLOG_CHANGE _IO ('t', 122)
+#define SIO_IDEAL_SEND_BACKLOG_QUERY  _IOR('t', 123, ULONG)
+#else
+#define WS_SIO_IDEAL_SEND_BACKLOG_CHANGE WS__IO ('t', 122)
+#define WS_SIO_IDEAL_SEND_BACKLOG_QUERY  WS__IOR('t', 123, ULONG)
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the wine-cvs mailing list