VirtualBox

Changeset 37198 in vbox for trunk/src/VBox


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

Devices/Network/DrvUDPTunnel: new network transport which sends ethernet frames encapsulated in UDP. Contributed by Christophe Devriese, and much cleaned up.

Location:
trunk/src/VBox/Devices
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r36942 r37198  
    55
    66#
    7 # Copyright (C) 2006-2010 Oracle Corporation
     7# Copyright (C) 2006-2011 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    159159 ifdef VBOX_WITH_DRV_DISK_INTEGRITY
    160160  VBoxDD_DEFS           += VBOX_WITH_DRV_DISK_INTEGRITY
     161 endif
     162 ifdef VBOX_WITH_UDPTUNNEL
     163  VBoxDD_DEFS           += VBOX_WITH_UDPTUNNEL
    161164 endif
    162165 ifdef VBOX_WITH_VDE
     
    919922 endif
    920923
     924 ifdef VBOX_WITH_UDPTUNNEL
     925 Drivers_SOURCES += \
     926        Network/DrvUDPTunnel.cpp
     927 Drivers_DEFS += VBOX_WITH_UDPTUNNEL
     928 endif
    921929 ifdef VBOX_WITH_VDE
    922   Drivers_SOURCES += \
     930 Drivers_SOURCES += \
    923931        Network/DrvVDE.cpp \
    924932        Network/VDEPlug.cpp
    925   Drivers_DEFS    += \
    926      VBOX_WITH_VDE
     933 Drivers_DEFS += VBOX_WITH_VDE
    927934 endif
    928935
  • trunk/src/VBox/Devices/build/VBoxDD.cpp

    r35685 r37198  
    240240        return rc;
    241241#endif
     242#ifdef VBOX_WITH_UDPTUNNEL
     243    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvUDPTunnel);
     244    if (RT_FAILURE(rc))
     245        return rc;
     246#endif
    242247#ifdef VBOX_WITH_VDE
    243248    rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvVDE);
  • trunk/src/VBox/Devices/build/VBoxDD.h

    r35685 r37198  
    55
    66/*
    7  * Copyright (C) 2006-2010 Oracle Corporation
     7 * Copyright (C) 2006-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    102102extern const PDMDRVREG g_DrvHostInterface;
    103103#endif
     104#ifdef VBOX_WITH_UDPTUNNEL
     105extern const PDMDRVREG g_DrvUDPTunnel;
     106#endif
    104107#ifdef VBOX_WITH_VDE
    105108extern const PDMDRVREG g_DrvVDE;
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