Changeset 10733 in vbox for trunk/src/VBox/Devices/Network/testcase
- Timestamp:
- Jul 17, 2008 10:42:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp
r10711 r10733 1 /* $Id$ */ 1 2 /** @file 3 * Internal networking - Usermode testcase for the kernel mode bits. 2 4 * 3 * VBox - Testcase for the Ring-0 part of internal networking. 5 * This is a bit hackish as we're mixing context here, however it is 6 * very useful when making changes to the internal networking service. 4 7 */ 5 8 … … 238 241 int rc = INTNETR0IfSend(pArgs->pIntNet, pArgs->hIf, abBuf, cb); 239 242 #else 240 int rc = intnetR0RingWriteFrame(pArgs->pBuf, &pArgs->pBuf->Send, abBuf, cb); 243 INTNETSG Sg; 244 intnetR0SgInitTemp(&Sg, abBuf, cb); 245 int rc = intnetR0RingWriteFrame(pArgs->pBuf, &pArgs->pBuf->Send, &Sg); 241 246 if (RT_SUCCESS(rc)) 242 247 rc = INTNETR0IfSend(pArgs->pIntNet, pArgs->hIf, NULL, 0);
Note:
See TracChangeset
for help on using the changeset viewer.