Data portion in an IRP

Hello,
I am working on a TDI driver. I would like to know where exactly the
data (i.e UDP datagram details) resides in the IRP which I get as part
of the
TDI_SEND_DATAGRAM request in my driver. I am looking for the UDP payload
here. I tried printing contents of
IrpSp->Paramaters (IRP stack location) and also Irp->Userbuffer. But it
doesnt contain anything. It shd be somewhere in the IRP I guess.
Any info on this is appreciated.
Thanks.
Snajay

Irp->MdlAddress contains the datagram.

-Srin.

-----Original Message-----
From: Sanjay Chadda [mailto:xxxxx@neoteris.com]
Sent: Tuesday, May 13, 2003 7:03 PM
To: NT Developers Interest List
Subject: [ntdev] Data portion in an IRP

Hello,

I am working on a TDI driver. I would like to know where exactly the
data (i.e UDP datagram details) resides in the IRP which I get as part
of the

TDI_SEND_DATAGRAM request in my driver. I am looking for the UDP payload
here. I tried printing contents of

IrpSp->Paramaters (IRP stack location) and also Irp->Userbuffer. But it
doesnt contain anything. It shd be somewhere in the IRP I guess.

Any info on this is appreciated.

Thanks.

Snajay


You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

MessageIn Irp->MdlAddress. Note this can be a MDL chain.

----- Original Message -----
From: Sanjay Chadda
To: NT Developers Interest List
Sent: Wednesday, May 14, 2003 6:02 AM
Subject: [ntdev] Data portion in an IRP

Hello,
I am working on a TDI driver. I would like to know where exactly the data (i.e UDP datagram details) resides in the IRP which I get as part of the
TDI_SEND_DATAGRAM request in my driver. I am looking for the UDP payload here. I tried printing contents of
IrpSp->Paramaters (IRP stack location) and also Irp->Userbuffer. But it doesnt contain anything. It shd be somewhere in the IRP I guess.
Any info on this is appreciated.
Thanks.
Snajay

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks.
How do we get access to this data (i.e. what functions to use to remove
data off this MDL and store it in some PVOID memory area). I read the
DDK docs and it days that I/O mgr locks these pages and the driver does
have access to this data.
Snajay

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, May 14, 2003 6:04 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Data portion in an IRP

In Irp->MdlAddress. Note this can be a MDL chain.

----- Original Message -----
From: Sanjay Chadda mailto:xxxxx
To: NT Developers Interest List
mailto:xxxxx
Sent: Wednesday, May 14, 2003 6:02 AM
Subject: [ntdev] Data portion in an IRP

Hello,
I am working on a TDI driver. I would like to know where
exactly the data (i.e UDP datagram details) resides in the IRP which I
get as part of the
TDI_SEND_DATAGRAM request in my driver. I am looking for
the UDP payload here. I tried printing contents of
IrpSp->Paramaters (IRP stack location) and also
Irp->Userbuffer. But it doesnt contain anything. It shd be somewhere in
the IRP I guess.
Any info on this is appreciated.
Thanks.
Snajay

You are currently subscribed to ntdev as:
xxxxx@storagecraft.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@neoteris.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Look at MmGetSystemAddressForMdlSafe in the DDK.

-p


From: Sanjay Chadda [mailto:xxxxx@neoteris.com]
Sent: Wednesday, May 14, 2003 9:44 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Data portion in an IRP

Thanks.
How do we get access to this data (i.e. what functions to use
to remove data off this MDL and store it in some PVOID memory area). I
read the DDK docs and it days that I/O mgr locks these pages and the
driver does have access to this data.
Snajay

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, May 14, 2003 6:04 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Data portion in an IRP

In Irp->MdlAddress. Note this can be a MDL chain.

----- Original Message -----
From: Sanjay Chadda
mailto:xxxxx
To: NT Developers Interest List
mailto:xxxxx
Sent: Wednesday, May 14, 2003 6:02 AM
Subject: [ntdev] Data portion in an IRP

Hello,
I am working on a TDI driver. I would like to
know where exactly the data (i.e UDP datagram details) resides in the
IRP which I get as part of the
TDI_SEND_DATAGRAM request in my driver. I am
looking for the UDP payload here. I tried printing contents of
IrpSp->Paramaters (IRP stack location) and also
Irp->Userbuffer. But it doesnt contain anything. It shd be somewhere in
the IRP I guess.
Any info on this is appreciated.
Thanks.
Snajay

You are currently subscribed to ntdev as:
xxxxx@storagecraft.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com


You are currently subscribed to ntdev as:
xxxxx@neoteris.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>