VirtualBox

Changeset 18068 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 18, 2009 2:42:47 PM (16 years ago)
Author:
vboxsync
Message:

remove tap for non-linux platforms

Location:
trunk/src/VBox
Files:
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Builtins.cpp

    r16559 r18068  
    225225        return rc;
    226226#endif
    227 #if defined(RT_OS_L4) || defined(RT_OS_LINUX) || defined(RT_OS_OS2) || (defined(RT_OS_SOLARIS) && !defined(RT_OS_SOLARIS_10)) || defined(RT_OS_WINDOWS)
     227#if defined(RT_OS_LINUX)
    228228    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostInterface);
    229229    if (RT_FAILURE(rc))
  • trunk/src/VBox/Devices/Builtins.h

    r16559 r18068  
    9494extern const PDMDRVREG g_DrvISCSI;
    9595extern const PDMDRVREG g_DrvISCSITransportTcp;
     96#ifdef RT_OS_LINUX
    9697extern const PDMDRVREG g_DrvHostInterface;
     98#endif
    9799extern const PDMDRVREG g_DrvIntNet;
    98100extern const PDMDRVREG g_DrvNAT;
  • trunk/src/VBox/Devices/Makefile.kmk

    r18023 r18068  
    727727
    728728Drivers_SOURCES.l4    = \
    729         Network/DrvTAP.cpp \
    730729        Audio/ossaudio.c
    731730endif # l4
     
    741740        Storage/DrvHost% \
    742741        , $(Drivers_SOURCES))
    743 Drivers_SOURCES.os2   = \
    744         Network/DrvTAPOs2.cpp
    745742endif
    746743
     
    751748Drivers_SOURCES.solaris = \
    752749        Audio/solaudio.c \
    753         $(if $(VBOX_SOLARIS_10),,Network/DrvTAP.cpp) \
    754750        Storage/DrvHostBase.cpp \
    755751        Storage/DrvHostDVD.cpp \
     
    765761
    766762Drivers_SOURCES.win   = \
    767         Network/DrvTAPWin.cpp \
    768763        Audio/dsoundaudio.c \
    769764        Serial/DrvHostSerial.cpp
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r18023 r18068  
    16511651                    else
    16521652                    {
    1653 # ifndef VBOX_WITH_NETFLT
    1654                         rc = CFGMR3InsertString(pLunL0, "Driver", "HostInterface");                     RC_CHECK();
    1655                         rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg);                                 RC_CHECK();
    1656                         rc = CFGMR3InsertString(pCfg, "HostInterfaceName", Utf8Str(hostInterfaceName)); RC_CHECK();
    1657 # else
     1653# ifdef VBOX_WITH_NETFLT
    16581654                        rc = CFGMR3InsertString(pLunL0, "Driver", "IntNet");                            RC_CHECK();
    16591655                        rc = CFGMR3InsertNode(pLunL0, "Config", &pCfg);                                 RC_CHECK();
     
    18371833                    hrc = hostInterface->EnableStaticIpConfig(Bstr(VBOXNET_IPV4ADDR_DEFAULT),
    18381834                                                              Bstr(VBOXNET_IPV4MASK_DEFAULT));
    1839                
    1840                
     1835
     1836
    18411837                hrc = virtualBox->GetExtraData(Bstr("HostOnly/vboxnet0/IPV6Address"), tmpAddr.asOutParam());
    18421838                if (SUCCEEDED(hrc))
     
    18441840                if (SUCCEEDED(hrc) && !tmpAddr.isEmpty())
    18451841                    hrc = hostInterface->EnableStaticIpConfigV6(tmpAddr, Utf8Str(tmpMask).toUInt32());
    1846 #endif 
     1842#endif
    18471843                break;
    18481844            }
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