VirtualBox

Changeset 506 in vbox for trunk/src


Ignore:
Timestamp:
Feb 1, 2007 2:07:20 PM (18 years ago)
Author:
vboxsync
Message:

TAP update

Location:
trunk/src/VBox/HostDrivers/VBoxTAP
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxTAP/Makefile

    r1 r506  
    2727
    2828
    29 TAP_DRIVER_MAJOR_VERSION = 8
    30 TAP_DRIVER_MINOR_VERSION = 1
    31 
    32 
    3329#
    3430# VBoxTap
     
    3632VBoxTAP_TEMPLATE    = VBOXR0DRV
    3733VBoxTAP_SDKS        = W2K3DDK WINPSDKINCS
    38 VBoxTAP_DEFS        = \
    39         TAP_DRIVER_MAJOR_VERSION=$(TAP_DRIVER_MAJOR_VERSION) \
    40         TAP_DRIVER_MINOR_VERSION=$(TAP_DRIVER_MINOR_VERSION)
    4134VBoxTAP_LDFLAGS     = -Entry:DriverEntry@8
    4235VBoxTAP_SOURCES     = \
  • trunk/src/VBox/HostDrivers/VBoxTAP/VBoxTAP.rc

    r1 r506  
    55#include "config-win32.h"
    66#include "common.h"
     7
     8#ifdef VBOX
     9#include <VBox/tapwin32.h>
     10#endif
    711
    812/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
  • trunk/src/VBox/HostDrivers/VBoxTAP/common.h

    r1 r506  
    3737//=============
    3838
     39#ifndef VBOX
    3940#define TAP_CONTROL_CODE(request,method) \
    4041  CTL_CODE (FILE_DEVICE_UNKNOWN, request, method, FILE_ANY_ACCESS)
     
    4950#define TAP_IOCTL_GET_LOG_LINE          TAP_CONTROL_CODE (8, METHOD_BUFFERED)
    5051#define TAP_IOCTL_CONFIG_DHCP_SET_OPT   TAP_CONTROL_CODE (9, METHOD_BUFFERED)
     52#endif
    5153
    5254//=================
  • trunk/src/VBox/HostDrivers/VBoxTAP/tapdrvr.c

    r1 r506  
    6868#include "dhcp.c"
    6969#include "instance.c"
     70
     71#ifdef VBOX
     72#include <VBox/tapwin32.h>
     73#endif
    7074
    7175#define IS_UP(ta) \
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