Changeset 29662 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c
- Timestamp:
- May 19, 2010 2:46:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c
r29635 r29662 433 433 * @copydoc INTNETTRUNKIFPORT::pfnXmit 434 434 */ 435 static DECLCALLBACK(int) vboxNetFltPortXmit(PINTNETTRUNKIFPORT pIfPort, PINTNETSG pSG, uint32_t fDst)435 static DECLCALLBACK(int) vboxNetFltPortXmit(PINTNETTRUNKIFPORT pIfPort, void *pvIfData, PINTNETSG pSG, uint32_t fDst) 436 436 { 437 437 PVBOXNETFLTINS pThis = IFPORT_2_VBOXNETFLTINS(pIfPort); … … 454 454 if ( !ASMAtomicUoReadBool(&pThis->fDisconnectedFromHost) 455 455 || vboxNetFltMaybeRediscovered(pThis)) 456 rc = vboxNetFltPortOsXmit(pThis, p SG, fDst);456 rc = vboxNetFltPortOsXmit(pThis, pvIfData, pSG, fDst); 457 457 vboxNetFltRelease(pThis, true /* fBusy */); 458 458 } … … 537 537 * @copydoc INTNETTRUNKIFPORT::pfnNotifyMacAddress 538 538 */ 539 static DECLCALLBACK(void) vboxNetFltPortNotifyMacAddress(PINTNETTRUNKIFPORT pIfPort, INTNETIFHANDLE hIf, PCRTMAC pMac)539 static DECLCALLBACK(void) vboxNetFltPortNotifyMacAddress(PINTNETTRUNKIFPORT pIfPort, void *pvIfData, PCRTMAC pMac) 540 540 { 541 541 PVBOXNETFLTINS pThis = IFPORT_2_VBOXNETFLTINS(pIfPort); … … 548 548 549 549 vboxNetFltRetain(pThis, false /* fBusy */); 550 vboxNetFltPortOsNotifyMacAddress(pThis, hIf, pMac);550 vboxNetFltPortOsNotifyMacAddress(pThis, pvIfData, pMac); 551 551 vboxNetFltRelease(pThis, false /* fBusy */); 552 552 } … … 556 556 * @copydoc INTNETTRUNKIFPORT::pfnConnectInterface 557 557 */ 558 static DECLCALLBACK(int) vboxNetFltPortConnectInterface(PINTNETTRUNKIFPORT pIfPort, INTNETIFHANDLE hIf)558 static DECLCALLBACK(int) vboxNetFltPortConnectInterface(PINTNETTRUNKIFPORT pIfPort, void *pvIf, void *ppvIfData, INTNETIFHANDLE hIf) 559 559 { 560 560 PVBOXNETFLTINS pThis = IFPORT_2_VBOXNETFLTINS(pIfPort); … … 568 568 569 569 vboxNetFltRetain(pThis, false /* fBusy */); 570 rc = vboxNetFltPortOsConnectInterface(pThis, hIf);570 rc = vboxNetFltPortOsConnectInterface(pThis, pvIf, ppvIfData); 571 571 vboxNetFltRelease(pThis, false /* fBusy */); 572 572 … … 578 578 * @copydoc INTNETTRUNKIFPORT::pfnDisconnectInterface 579 579 */ 580 static DECLCALLBACK(void) vboxNetFltPortDisconnectInterface(PINTNETTRUNKIFPORT pIfPort, INTNETIFHANDLE hIf)580 static DECLCALLBACK(void) vboxNetFltPortDisconnectInterface(PINTNETTRUNKIFPORT pIfPort, void *pvIfData) 581 581 { 582 582 PVBOXNETFLTINS pThis = IFPORT_2_VBOXNETFLTINS(pIfPort); … … 590 590 591 591 vboxNetFltRetain(pThis, false /* fBusy */); 592 rc = vboxNetFltPortOsDisconnectInterface(pThis, hIf);592 rc = vboxNetFltPortOsDisconnectInterface(pThis, pvIfData); 593 593 vboxNetFltRelease(pThis, false /* fBusy */); 594 594 AssertRC(rc); /** @todo fix vboxNetFltPortOsDisconnectInterface. */
Note:
See TracChangeset
for help on using the changeset viewer.