VirtualBox

Ignore:
Timestamp:
Sep 9, 2009 7:21:32 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52131
Message:

FreeBSD: Add support for bridged and hostonly networking. Contributed by Fredrik Lindberg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r22867 r22875  
    7777# include <linux/if.h>
    7878# include <linux/wireless.h>
     79#endif
     80
     81#if defined(RT_OS_FREEBSD) && defined(VBOX_WITH_NETFLT)
     82# include <unistd.h>
     83# include <sys/types.h>
     84# include <sys/ioctl.h>
     85# include <sys/socket.h>
     86# include <net/if.h>
    7987#endif
    8088
     
    23092317            /* we're not releasing the INetCfg stuff here since we use it later to figure out whether it is wireless */
    23102318
    2311 # elif defined(RT_OS_LINUX)
     2319# elif defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
    23122320            /** @todo Check for malformed names. */
    23132321            const char *pszTrunk = pszHifName;
Note: See TracChangeset for help on using the changeset viewer.

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