[ntdev]:About The NDIS Intermediate Driver

HI,all

I am doing something about the NDIS Intermediate Driver under NT4.0. I modified the NDIS Intermediate Driver sample :ImSamp source codes which were downloaded from Microsoft website.
I encountered with the following problem:
I processed the Packets from Miniport NIC in the NDIS callback
function: ProtocolReceivePacket().
In this function, I declare a local variable:
unsigned _int8 databuf[1600];
and I copied the packets data(Include DataLink Frame Header) to “databuf”,and then I done some modification with the data in “databuf” ,at last I do something about regenerating the TCP Checksum,I encountered with PAGE FAULT (I saw it from SoftIce 4.0).
the codes about regenerating the TCP Checksum is modified from the BOOK:
<>(2nd Edition)

somebody can help me?
Thanks!!

liuyicai
liuyicai@263.net


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com