VirtualBox

Changeset 37199 in vbox


Ignore:
Timestamp:
May 24, 2011 3:17:03 PM (14 years ago)
Author:
vboxsync
Message:

Device/Network/UDPTunnel: build integration

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r37186 r37199  
    553553 endif
    554554endif
     555# Enables the UDP tunnel transport.
     556VBOX_WITH_UDPTUNNEL = 1
    555557# Enable Virtual Distributed Ethernet or not.
    556558if1of ($(KBUILD_TARGET), freebsd linux)
  • trunk/configure

    r37125 r37199  
    44
    55#
    6 # Copyright (C) 2006-2009 Oracle Corporation
     6# Copyright (C) 2006-2011 Oracle Corporation
    77#
    88# This file is part of VirtualBox Open Source Edition (OSE), as
     
    8888WITH_OPENGL=1
    8989WITH_HARDENING=1
     90WITH_UDPTUNNEL=1
    9091WITH_VDE=0
    9192WITH_VNC=0
     
    21802181[ "$OS" = "linux" -o "$OS" = "freebsd" ] && echo "  --enable-vde             enable VDE networking"
    21812182cat << EOF
     2183  --disable-udptunnel      disable UDP tunnel networking
    21822184  --disable-hardening      don't be strict about /dev/vboxdrv access
    21832185  --build-libxml2          build libxml2 from sources
     
    21972199  --with-iasl=PATH         location of the iasl compiler [$IASL]
    21982200  --with-mkisofs=PATH      location of mkisofs [$MKISOFS]
     2201  --with-makeself=PATH     location of makeself [$MAKESELF]
    21992202EOF
    22002203[ "$OS"    = "linux" ] && echo "  --with-linux=DIR         Linux kernel source directory [$LINUX]"
     
    22942297      MKISOFS=`echo $option | cut -d'=' -f2`
    22952298      ;;
     2299    --with-makeself=*)
     2300      MAKESELF=`echo $option | cut -d'=' -f2`
     2301      ;;
    22962302    --target-arch=*)
    22972303      TARGET_MACHINE=`echo $option | cut -d'=' -f2`
     
    23532359    --enable-hardening)
    23542360      WITH_HARDENING=2
     2361      ;;
     2362    --disable-udptunnel)
     2363      WITH_UDPTUNNEL=0
    23552364      ;;
    23562365    --enable-vde)
     
    26032612    cnf_append "VBOX_WITH_WEBSERVICES" ""
    26042613  fi
     2614fi
     2615
     2616# UDPTUNNEL
     2617if [ $WITH_UDPTUNNEL -eq 0 ]; then
     2618  cnf_append "VBOX_WITH_UDPTUNNEL" ""
    26052619fi
    26062620
  • trunk/configure.vbs

    r34466 r37199  
    1010
    1111'
    12 ' Copyright (C) 2006-2007 Oracle Corporation
     12' Copyright (C) 2006-2011 Oracle Corporation
    1313'
    1414' This file is part of VirtualBox Open Source Edition (OSE), as
     
    752752      CfgPrint "VBOX_WITH_DEBUGGER_GUI="
    753753      CfgPrint "VBOX_WITHOUT_COM=1"
     754   end if
     755end sub
     756
     757
     758''
     759' No UDPTunnel
     760sub DisableUDPTunnel(strReason)
     761   if g_blnDisableUDPTunnel = False then
     762      LogPrint "Disabled UDPTunnel network transport: " & strReason
     763      g_blnDisableUDPTunnel = True
     764      g_strDisableUDPTunnel = strReason
     765      CfgPrint "VBOX_WITH_UDPTUNNEL="
    754766   end if
    755767end sub
     
    22282240   Print "Components:"
    22292241   Print "  --disable-COM"
     2242   Print "  --disable-UDPTunnel"
    22302243   Print ""
    22312244   Print "Locations:"
     
    22832296   strOptMkisofs = ""
    22842297   blnOptDisableCOM = False
     2298   blnOptDisableUDPTunnel = False
    22852299   for i = 1 to Wscript.Arguments.Count
    22862300      dim str, strArg, strPath
     
    23372351         case "--enable-com"
    23382352            blnOptDisableCOM = False
     2353         case "--disable-udptunnel"
     2354            blnOptDisableUDPTunnel = True
    23392355         case "--internal"
    23402356            g_blnInternalMode = True
     
    23762392      DisableCOM "--disable-com"
    23772393   end if
     2394   if blnOptDisableUDPTunnel = True then
     2395      DisableUDPTunnel "--disable-udptunnel"
    23782396   CheckSourcePath
    23792397   CheckForkBuild strOptkBuild
  • trunk/include/VBox/log.h

    r36848 r37199  
    44
    55/*
    6  * Copyright (C) 2006-2007 Oracle Corporation
     6 * Copyright (C) 2006-2011 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    200200    /** TUN network transport driver group */
    201201    LOG_GROUP_DRV_TUN,
     202    /** UDP tunnet network transport driver group. */
     203    LOG_GROUP_DRV_UDPTUNNEL,
    202204    /** USB Proxy driver group. */
    203205    LOG_GROUP_DRV_USBPROXY,
     
    445447    "DRV_TRANSPORT_ASYNC", \
    446448    "DRV_TUN",      \
     449    "DRV_UDPTUNNEL", \
    447450    "DRV_USBPROXY", \
    448451    "DRV_VBOXHDD",  \
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