dear all,
in my ndis protocol driver,I want use NdisSend to send a packet which I
have allocated in driver(kernal mode),and the NdisSend routine need MDL,but
not a physical memory pointer,
In normal condition,the protocol driver only use the upper application(user
mode) IRP’s MDL
,now I want send some packet when need,but not submit the upper IRP simply.
how can I implement this?
can I get my buffer’s MDL in kernel mode?
thanks!
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
See the NDIS_PACKET discussion at the URL:
http://www.pcausa.com/resources/ndispacket.htm
Be sure to read about the relationship between NDIS_BUFFER and MDL.
Good luck,
Thomas F. Divine
PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Friday, September 21, 2001 12:14 AM
Subject: [ntdev] how can I translate virtual memory address/physical memory
address
> dear all,
> in my ndis protocol driver,I want use NdisSend to send a packet which I
> have allocated in driver(kernal mode),and the NdisSend routine need
MDL,but
> not a physical memory pointer,
>
> In normal condition,the protocol driver only use the upper
application(user
> mode) IRP’s MDL
> ,now I want send some packet when need,but not submit the upper IRP
simply.
>
>
> how can I implement this?
> can I get my buffer’s MDL in kernel mode?
>
> thanks!
—
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</http:></http:>