VirtualBox

Changeset 10924

Show
Ignore:
Timestamp:
07/29/08 05:48:35 (5 months 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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy