VirtualBox

Changeset 62684 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jul 29, 2016 1:16:47 PM (8 years ago)
Author:
vboxsync
Message:

ndis.h wrapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxNetCmn-win.h

    r62476 r62684  
    33 * VBoxNetCmn-win.h - NDIS6 Networking Driver Common Definitions, Windows-specific code.
    44 */
     5
    56/*
    67 * Copyright (C) 2014-2016 Oracle Corporation
     
    2627DECLHIDDEN(void) vboxNetCmnWinDumpOidRequest(const char *pcszFunction, PNDIS_OID_REQUEST pRequest)
    2728{
    28     char *pszType = "unknown";
    29     char *pszOid  = "unknown";
     29#ifdef LOG_ENABLED
     30    const char *pszType;
     31    const char *pszOid  = "unknown";
    3032
    3133    switch (pRequest->RequestType)
     
    3537        case NdisRequestQueryInformation: pszType = "query info"; break;
    3638        case NdisRequestQueryStatistics: pszType = "query stats"; break;
     39        default: pszType = "unknown";
    3740    }
    3841    switch (pRequest->DATA.SET_INFORMATION.Oid)
     
    134137    }
    135138    Log(("%s: %s(0x%x) %s(0x%x)\n", pcszFunction, pszType, pRequest->RequestType, pszOid, pRequest->DATA.SET_INFORMATION.Oid));
     139#else
     140    RT_NOREF2(pcszFunction, pRequest);
     141#endif
    136142}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette