Changeset 562 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Feb 2, 2007 4:31:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvTAPWin32.cpp
r560 r562 187 187 list.cPackets = RT_MIN(cPackets, TAP_SCATTER_GATHER_MAX_PACKETS); 188 188 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 } 189 195 190 196 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.