VirtualBox

Changeset 35965 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 14, 2011 6:09:44 PM (14 years ago)
Author:
vboxsync
Message:

Main/Console: resurrect strange tap/bridge hybrid optimization

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r35962 r35965  
    445445    HRESULT powerDown(IProgress *aProgress = NULL);
    446446
    447 #if ((defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) && !defined(VBOX_WITH_NETFLT))
     447/* Note: FreeBSD needs this whether netflt is used or not. */
     448#if ((defined(RT_OS_LINUX) && !defined(VBOX_WITH_NETFLT)) || defined(RT_OS_FREEBSD))
    448449    HRESULT attachToTapInterface(INetworkAdapter *networkAdapter);
    449450    HRESULT detachFromTapInterface(INetworkAdapter *networkAdapter);
     
    697698    PPDMLED      mapSharedFolderLed;
    698699    PPDMLED      mapUSBLed[2];
    699 #if ((defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) && !defined(VBOX_WITH_NETFLT))
     700/* Note: FreeBSD needs this whether netflt is used or not. */
     701#if ((defined(RT_OS_LINUX) && !defined(VBOX_WITH_NETFLT)) || defined(RT_OS_FREEBSD))
    700702    Utf8Str      maTAPDeviceName[8];
    701703    RTFILE       maTapFD[8];
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r35886 r35965  
    70847084#endif /* VBOX_WITH_USB */
    70857085
    7086 #if ((defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)) && !defined(VBOX_WITH_NETFLT))
     7086/* Note: FreeBSD needs this whether netflt is used or not. */
     7087#if ((defined(RT_OS_LINUX) && !defined(VBOX_WITH_NETFLT)) || defined(RT_OS_FREEBSD))
    70877088/**
    70887089 * Helper function to handle host interface device creation and attachment.
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