Need help with TDI_ACCEPT

From: “Loren Rogers”
Subject: Need help with TDI_ACCEPT
Date: Monday, November 22, 2004 2:22 PM

Hello,
I am currently writing a loopback driver for 2 NIC’s. I set up my
TDI_EVENT_CONNECT handler and I ultimately get to the event_connected. All
I do in the event_connected function is change one passed in variable and
then call the original handler. My problem is, is that when I run TDIMon
application it appears the my TDI_ACCEPT irp times out and the incoming
connection is ultimately dropped. Can anybody tell me why? Does the
‘original’ handler set up the TDI_ACCEPT irp properly and is there anything
I must do after I call the original handler (other than the fact of ensuring
I return MORE_PROCESSING_REQUIRED)? Thanks in advance
/Loren

Do you hook the TDI_ACCEPT irp passed by original event handler?

Subject: Need help with TDI_ACCEPT
From: “Loren Rogers”
Date: Tue, 30 Nov 2004 16:27:40 -0500
X-Message-Number: 20

From: “Loren Rogers”
Subject: Need help with TDI_ACCEPT
Date: Monday, November 22, 2004 2:22 PM

Hello,
I am currently writing a loopback driver for 2 NIC’s. I set up my
TDI_EVENT_CONNECT handler and I ultimately get to the event_connected. All
I do in the event_connected function is change one passed in variable and
then call the original handler. My problem is, is that when I run TDIMon
application it appears the my TDI_ACCEPT irp times out and the incoming
connection is ultimately dropped. Can anybody tell me why? Does the
‘original’ handler set up the TDI_ACCEPT irp properly and is there anything
I must do after I call the original handler (other than the fact of ensuring
I return MORE_PROCESSING_REQUIRED)? Thanks in advance
/Loren

Hi there,
I’m not sure what you mean by ‘hooking’ the TDI_ACCEPT IRP. Is the
AcceptIrp already initialized and built by the time MY event handler get’s
called?
/Loren

“Vijender” wrote in message news:xxxxx@ntdev…
>
> Do you hook the TDI_ACCEPT irp passed by original event handler?
>
> Subject: Need help with TDI_ACCEPT
> From: “Loren Rogers”
> Date: Tue, 30 Nov 2004 16:27:40 -0500
> X-Message-Number: 20
>
> From: “Loren Rogers”
> Subject: Need help with TDI_ACCEPT
> Date: Monday, November 22, 2004 2:22 PM
>
> Hello,
> I am currently writing a loopback driver for 2 NIC’s. I set up my
> TDI_EVENT_CONNECT handler and I ultimately get to the event_connected.
All
> I do in the event_connected function is change one passed in variable and
> then call the original handler. My problem is, is that when I run TDIMon
> application it appears the my TDI_ACCEPT irp times out and the incoming
> connection is ultimately dropped. Can anybody tell me why? Does the
> ‘original’ handler set up the TDI_ACCEPT irp properly and is there
anything
> I must do after I call the original handler (other than the fact of
ensuring
> I return MORE_PROCESSING_REQUIRED)? Thanks in advance
> /Loren
>
>

NIC drivers have nothing to do with TDI. They are NDIS miniports.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Loren Rogers”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, December 01, 2004 12:27 AM
Subject: [ntdev] Need help with TDI_ACCEPT

> From: “Loren Rogers”
> Subject: Need help with TDI_ACCEPT
> Date: Monday, November 22, 2004 2:22 PM
>
> Hello,
> I am currently writing a loopback driver for 2 NIC’s. I set up my
> TDI_EVENT_CONNECT handler and I ultimately get to the event_connected. All
> I do in the event_connected function is change one passed in variable and
> then call the original handler. My problem is, is that when I run TDIMon
> application it appears the my TDI_ACCEPT irp times out and the incoming
> connection is ultimately dropped. Can anybody tell me why? Does the
> ‘original’ handler set up the TDI_ACCEPT irp properly and is there anything
> I must do after I call the original handler (other than the fact of ensuring
> I return MORE_PROCESSING_REQUIRED)? Thanks in advance
> /Loren
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>