HCT: PC will hang when PerformanceBlast test ;

Hi,
I’m doing the HCT , test my IM driver which is modified from PASSTHRU in
ddk2003.
I need to filter the packets in MpSendPackets(), I do it as that JUST
call *NdisMsendComplete(handle, packet,
NDIS_STATUS_FAILURE/NDIS_STATUS_SUCCESS)* in *MpSendPackets*() and
do NOTHING others .
When HCT test *PerformanceBlast* , HCT client will send packets as
fast as possible in 30 seconds interval ,PC will hang. But I test PASSTHRU,
it is ok. The IRQL of *MpSendPackets() is DISPATH_LEVEL.*
I compare the codes ,the difference between PASSTHRU and Mine is
that: PASSTHRU maybe will not call *NdisMsendComplete() each time .*
I’m confused of it . I searched on google and DDK documents , but no
clues. Does anyone can give suggesstions?

Josephxu

“ze zefeng” wrote in message news:xxxxx@ntdev…
Hi,
I’m doing the HCT , test my IM driver which is modified from PASSTHRU in ddk2003.
I need to filter the packets in MpSendPackets(), I do it as that JUST call NdisMsendComplete(handle, packet, NDIS_STATUS_FAILURE/NDIS_STATUS_SUCCESS) in MpSendPackets() and do NOTHING others .
When HCT test PerformanceBlast , HCT client will send packets as fast as possible in 30 seconds interval ,PC will hang. But I test PASSTHRU, it is ok. The IRQL of MpSendPackets() is DISPATH_LEVEL.
I compare the codes ,the difference between PASSTHRU and Mine is that: PASSTHRU maybe will not call NdisMsendComplete() each time .
I’m confused of it . I searched on google and DDK documents , but no clues. Does anyone can give suggesstions?

Josephxu

Part 2 of the article “Extending the PassThru NDIS IM Driver…” includes a sample NDIS IM driver that blocks packets based on IP address table. Part 2 is in the archives at:

http://www.wd-3.com/

I believe that all you need to do is to call NdisMSendComplete with NDIS_STATUS_SUCCESS for packets that you block.

Good luck,

Thomas F. Divine, Windows DDK MVP
http://www.pcausa.com