Packet intercepting ?

hi, all
i am working on NDIS IM driver (network\ndis\passthru)
i want to find which protocol is sending the packet
i did NdisQueryPacket,NdisQueryBuffer and when i call
NdisMoveMemory system is getting crasshed.
i have taken a small code from (www.pcausa.com/resources/readonpacket.htm)

thanks
/mallu


Get free email and a permanent address at http://www.netaddress.com/?N=1


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

A good candidate for your trouble - from the DDK

"Callers of NdisMoveMemory can run at any IRQL if the given Source and
Destination are resident. Otherwise, callers must be running at IRQL <
DISPATCH_LEVEL, as, for example if either address is on the stack. "

Hope this helps.

-----Original Message-----
From: shiva mallu [mailto:xxxxx@usa.net]
Sent: Thursday, 3 May 2001 12:18 am
To: NT Developers Interest List
Subject: [ntdev] Packet intercepting ?

hi, all
i am working on NDIS IM driver (network\ndis\passthru)
i want to find which protocol is sending the packet
i did NdisQueryPacket,NdisQueryBuffer and when i call
NdisMoveMemory system is getting crasshed.
i have taken a small code from (www.pcausa.com/resources/readonpacket.htm)

thanks
/mallu


Get free email and a permanent address at http://www.netaddress.com/?N=1


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


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