How can i send my own Packet ?

hi, all
i am working on NDIS intermediate driver
i want to provide an IOCTL interface to the application so that the appln
can send some packets to the network(thru writefile)
But while handling the IRP_MJ_WRITE my driver is getting crashed
can any one tell what exactly i have to do in IRP_MJ_WRITE handler ?
(i am strugling to get NdisBindingHandle for NdisSend() )

waiting for suggestions

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