Changeset 10746 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 18, 2008 12:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r10663 r10746 237 237 SendReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 238 238 SendReq.Hdr.cbReq = sizeof(SendReq); 239 SendReq.pSession = NULL; 239 240 SendReq.hIf = pThis->hIf; 240 241 pThis->pDrvIns->pDrvHlp->pfnSUPCallVMMR0Ex(pThis->pDrvIns, VMMR0_DO_INTNET_IF_SEND, &SendReq, sizeof(SendReq)); … … 248 249 SendReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 249 250 SendReq.Hdr.cbReq = sizeof(SendReq); 251 SendReq.pSession = NULL; 250 252 SendReq.hIf = pThis->hIf; 251 253 rc = pThis->pDrvIns->pDrvHlp->pfnSUPCallVMMR0Ex(pThis->pDrvIns, VMMR0_DO_INTNET_IF_SEND, &SendReq, sizeof(SendReq)); … … 274 276 Req.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 275 277 Req.Hdr.cbReq = sizeof(Req); 278 Req.pSession = NULL; 276 279 Req.hIf = pThis->hIf; 277 280 Req.fPromiscuous = fPromiscuous; … … 428 431 WaitReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 429 432 WaitReq.Hdr.cbReq = sizeof(WaitReq); 433 WaitReq.pSession = NULL; 430 434 WaitReq.hIf = pThis->hIf; 431 435 WaitReq.cMillies = 30000; /* 30s - don't wait forever, timeout now and then. */ … … 615 619 CloseReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 616 620 CloseReq.Hdr.cbReq = sizeof(CloseReq); 621 CloseReq.pSession = NULL; 617 622 CloseReq.hIf = pThis->hIf; 618 623 pThis->hIf = INTNET_HANDLE_INVALID; … … 815 820 GetRing3BufferReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 816 821 GetRing3BufferReq.Hdr.cbReq = sizeof(GetRing3BufferReq); 822 GetRing3BufferReq.pSession = NULL; 817 823 GetRing3BufferReq.hIf = pThis->hIf; 818 824 GetRing3BufferReq.pRing3Buf = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.