Changeset 29592 in vbox
- Timestamp:
- May 18, 2010 7:22:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/VBoxNetFltMp-win.c
r29108 r29592 446 446 IN PADAPT pAdapt, 447 447 IN PNDIS_PACKET pPacket 448 #ifdef VBOXNETFLT_NO_PACKET_QUEUE 449 , bool bNetFltActive 450 #endif 448 451 ) 449 452 { … … 457 460 { 458 461 #if !defined(VBOX_LOOPBACK_USEFLAGS) /* || defined(DEBUG_NETFLT_PACKETS) */ 462 # ifdef VBOXNETFLT_NO_PACKET_QUEUE 463 if (bNetFltActive) 464 vboxNetFltWinLbPutSendPacket(pAdapt, pMyPacket, false /* bFromIntNet */); 465 # else 459 466 /* no need for the loop enqueue & check in a passthru mode , ndis will do everything for us */ 467 # endif 460 468 #endif 461 469 NdisSend(&fStatus, … … 466 474 #ifndef WIN9X 467 475 NdisIMCopySendCompletePerPacketInfo (pPacket, pMyPacket); 476 #endif 477 #if defined(VBOXNETFLT_NO_PACKET_QUEUE) && !defined(VBOX_LOOPBACK_USEFLAGS) 478 if (bNetFltActive) 479 vboxNetFltWinLbRemoveSendPacket(pAdapt, pMyPacket); 468 480 #endif 469 481 NdisFreePacket(pMyPacket); … … 838 850 { 839 851 #ifndef VBOXNETADP 840 fStatus = vboxNetFltWinSendPassThru(pAdapt, pPacket); 852 fStatus = vboxNetFltWinSendPassThru(pAdapt, pPacket 853 #ifdef VBOXNETFLT_NO_PACKET_QUEUE 854 , !!cNetFltRefs 855 #endif 856 ); 841 857 #else 842 858 if(!cNetFltRefs)
Note:
See TracChangeset
for help on using the changeset viewer.