VirtualBox

Changeset 12974 in vbox for trunk


Ignore:
Timestamp:
Oct 3, 2008 6:54:37 PM (16 years ago)
Author:
vboxsync
Message:

protocol-based approach fixes

Location:
trunk/src/VBox/HostDrivers/VBoxNetFlt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r12729 r12974  
    3030VBoxNetFlt_SOURCES.darwin = darwin/VBoxNetFlt-darwin.cpp
    3131VBoxNetFlt_SOURCES.win = win/VBoxNetFlt-win.c win/VBoxNetFlt-win.rc
     32ifdef VBOX_NETFLT_ONDEMAND_BIND
     33VBoxNetFlt_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
     34endif
    3235VBoxNetFlt_SOURCES = VBoxNetFlt.c
    3336VBoxNetFlt_LDFLAGS.darwin = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h

    r12883 r12974  
    179179#endif
    180180        /** Padding. */
     181#if defined(RT_OS_WINDOWS) && defined(VBOX_NETFLT_ONDEMAND_BIND)
     182        /* windows AND protocol-based approach :
     183         * we include the ADAPT into the VBOXNETFLTINS,
     184         * and we do not feet into the 64 bytes padding,
     185         * make it bigger */
     186        uint8_t abPadding[192];
     187#else
    181188        uint8_t abPadding[64];
     189#endif
    182190    } u;
    183191
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