winverbs: fixes to support OFED compatibility libraries and ND
[mirror/winof/.git] / inc / user / rdma / winverbs.h
index d272224..9c0732e 100644 (file)
@@ -176,8 +176,8 @@ typedef struct _WV_DEVICE_ADDRESS
 typedef enum _WV_CQ_NOTIFY_TYPE\r
 {\r
        WvCqError,\r
-       WvCqSolicited,\r
-       WvCqNextCompletion\r
+       WvCqNextCompletion,\r
+       WvCqSolicited\r
 \r
 }      WV_CQ_NOTIFY_TYPE;\r
 \r
@@ -291,14 +291,14 @@ typedef struct _WV_SEND_REQUEST
        {\r
                struct\r
                {\r
-                       NET64                   RemoteAddress;\r
+                       UINT64                  RemoteAddress;\r
                        NET32                   Rkey;\r
 \r
                }       Rdma;\r
 \r
                struct\r
                {\r
-                       NET64                   RemoteAddress;\r
+                       UINT64                  RemoteAddress;\r
                        NET32                   Rkey;\r
                        NET64                   Compare;\r
                        NET64                   Exchange;\r
@@ -307,7 +307,7 @@ typedef struct _WV_SEND_REQUEST
 \r
                struct\r
                {\r
-                       NET64                   RemoteAddress;\r
+                       UINT64                  RemoteAddress;\r
                        NET32                   Rkey;\r
                        NET64                   Add;\r
                        UINT64                  Reserved;\r
@@ -1487,7 +1487,7 @@ DECLARE_INTERFACE_(IWVProvider, IUnknown)
 \r
        STDMETHOD(TranslateAddress)(\r
                THIS_\r
-               __in SOCKADDR* pAddress,\r
+               __in const SOCKADDR* pAddress,\r
                __out WV_DEVICE_ADDRESS* pDeviceAddress\r
                ) PURE;\r
 \r