VirtualBox

Changeset 10924 in vbox


Ignore:
Timestamp:
Jul 29, 2008 3:48:35 AM (16 years ago)
Author:
vboxsync
Message:

intnet: INTNET_OPEN_FLAGS_SECURITY_XOR_MASK -> INTNET_OPEN_FLAGS_COMPATIBILITY_XOR_MASK, added INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE to it.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/intnet.h

    r10923 r10924  
    623623/** Ignore any requests for promiscuous mode on the trunk host connection, quietly applied/ignored on open. */
    624624#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC_TRUNK_HOST     RT_BIT_32(7)
    625 /** The mask of flags which causes security incompatibilities. */
    626 #define INTNET_OPEN_FLAGS_SECURITY_XOR_MASK                     (RT_BIT_32(1) | RT_BIT_32(2) | RT_BIT_32(4) | RT_BIT_32(6))
     625/** The mask of flags which causes flag incompatibilities. */
     626#define INTNET_OPEN_FLAGS_COMPATIBILITY_XOR_MASK                (RT_BIT_32(0) | RT_BIT_32(1) | RT_BIT_32(2) | RT_BIT_32(4) | RT_BIT_32(6))
    627627/** The mask of flags is always ORed in, even on open. (the quiet stuff) */
    628628#define INTNET_OPEN_FLAGS_SECURITY_OR_MASK                      (RT_BIT_32(3) | RT_BIT_32(5) | RT_BIT_32(7))
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r10923 r10924  
    31223122                     && !strcmp(pCur->szTrunk, pszTrunk)))
    31233123            {
    3124                 if (!((pCur->fFlags ^ fFlags) & INTNET_OPEN_FLAGS_SECURITY_XOR_MASK))
     3124                if (!((pCur->fFlags ^ fFlags) & INTNET_OPEN_FLAGS_COMPATIBILITY_XOR_MASK))
    31253125                {
    31263126
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