VirtualBox

Changeset 11062 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Aug 1, 2008 3:09:13 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33957
Message:

intnet+netflt: New packet destination for the trunk called INTNETTRUNKDIR_WIRE_SHARED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r11061 r11062  
    15181518    Assert(fDst);
    15191519    AssertReturnVoid(pThis->pIfPort);
     1520
     1521    /*
     1522     * If we're supposed to be sharing the MAC address with the host
     1523     * interface when hitting the wire, change INTNETTRUNKDIR_WIRE to
     1524     * INTNETTRUNKDIR_WIRE_SHARED  before calling pfnXmit.
     1525     */
     1526    if (    (pNetwork->fFlags & INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE)
     1527        &&  (fDst & INTNETTRUNKDIR_WIRE))
     1528        fDst = (fDst & ~INTNETTRUNKDIR_WIRE) | INTNETTRUNKDIR_WIRE_SHARED;
    15201529
    15211530    /*
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