VirtualBox

Changeset 18323 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Mar 26, 2009 3:29:16 PM (16 years ago)
Author:
vboxsync
Message:

DHCP server/win: make it work again; NetFlt,Adp/win: IDC init polling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvIntNet.cpp

    r18314 r18323  
    4040
    4141#include "../Builtins.h"
    42 
    43 #if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)
    44 # include "win/DrvIntNet-win.h"
    45 #endif
    4642
    4743
     
    10241020        strcpy(OpenReq.szTrunk, &pThis->szNetwork[sizeof("wif=") - 1]);
    10251021    }
    1026 
    1027 #elif defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)
    1028     if (OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt
    1029             || OpenReq.enmTrunkType == kIntNetTrunkType_NetAdp)
    1030     {
    1031 # ifndef VBOX_NETFLT_ONDEMAND_BIND
    1032         /*
    1033          * We have a ndis filter driver started on system boot before the VBoxDrv,
    1034          * tell the filter driver to init VBoxNetFlt functionality.
    1035          */
    1036         rc = drvIntNetWinConstruct(pDrvIns, pCfgHandle, OpenReq.enmTrunkType);
    1037         AssertLogRelMsgRCReturn(rc, ("drvIntNetWinConstruct failed, rc=%Rrc", rc), rc);
    1038 # endif
    1039 
    1040         /*
    1041          * <Describe what this does here or/and in the function docs of drvIntNetWinIfGuidToBindName>.
    1042          */
    1043         char szBindName[INTNET_MAX_TRUNK_NAME];
    1044         rc = drvIntNetWinIfGuidToBindName(OpenReq.szTrunk, szBindName, INTNET_MAX_TRUNK_NAME);
    1045         AssertLogRelMsgRCReturn(rc, ("drvIntNetWinIfGuidToBindName failed, rc=%Rrc", rc), rc);
    1046         strcpy(OpenReq.szTrunk, szBindName);
    1047     }
    1048 #endif /* WINDOWS && NETFLT */
     1022#endif /* DARWIN */
    10491023
    10501024    /*
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