VirtualBox

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


Ignore:
Timestamp:
Feb 2, 2007 4:31:31 PM (18 years ago)
Author:
vboxsync
Message:

forgot something

File:
1 edited

Legend:

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

    r560 r562  
    187187        list.cPackets = RT_MIN(cPackets, TAP_SCATTER_GATHER_MAX_PACKETS);
    188188        cPackets     -= list.cPackets;
     189
     190        for (uint32_t i=0;i<list.cPackets;i++)
     191        {
     192            list.aPacket[i].pPacket = paPacket[i].pvBuf;
     193            list.aPacket[i].cb      = paPacket[i].cb;
     194        }
    189195
    190196        ret = DeviceIoControl(pData->hFile, TAP_IOCTL_TRANSFER_ETHPACKETS, &list, RT_OFFSETOF(TAP_SCATTER_GATHER_LIST_MAX, aPacket[list.cPackets]),
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