Dropping packets in SendPackets handler - Urgent!

If you want to drop pkts in the SendPackets handler and *do not* want the stack to try and retransmit those packets (basicallY I am taking control of those packets), what is the appropriate status with which you complete the packet?

Is it NDIS_STATUS_NOT_ACCEPTED?.

Thanks !

-Johnny

==== P.S. I would also appreciate if someone could answer my previous question regarding D1 bugcheck as well


Get your FREE download of MSN Explorer at http://explorer.msn.com.

Just accept the packet and take responsibility for sending it.

Nothing you can do in your SendPacket handler can keep the higher-level protocol from making retries on the packet. It will make retries (if necessary) based on internal timeouts while waiting for expected replies.

So, to convince it not to retry you must feed it with the received packet that it expects in response.

Regards,

Thomas F. Divine

PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:
“Johnny D” wrote in message news:xxxxx@ntdev…

If you want to drop pkts in the SendPackets handler and do not want the stack to try and retransmit those packets (basicallY I am taking control of those packets), what is the appropriate status with which you complete the packet?

Is it NDIS_STATUS_NOT_ACCEPTED?.

Thanks !
-Johnny

==== P.S. I would also appreciate if someone could answer my previous question regarding D1 bugcheck as well

------------------------------------------------------------------------------
Get your FREE download of MSN Explorer at http://explorer.msn.com.</http:></http:>

call NdisMSendCompelte on every packet you want to drop with an error status
or even NDIS_STATUS_SUCCESS, again and again and again and so on… ;-(

Johnny

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Johnny D
Sent: Mittwoch, 1. Mai 2002 20:54
To: NT Developers Interest List
Cc: xxxxx@storagecraft.com
Subject: [ntdev] Dropping packets in SendPackets handler - Urgent!

If you want to drop pkts in the SendPackets handler and *do not* want the
stack to try and retransmit those packets (basicallY I am taking control of
those packets), what is the appropriate status with which you complete the
packet?

Is it NDIS_STATUS_NOT_ACCEPTED?.

Thanks !
-Johnny

==== P.S. I would also appreciate if someone could answer my previous
question regarding D1 bugcheck as well



Get your FREE download of MSN Explorer at http://explorer.msn.com.

You are currently subscribed to ntdev as: xxxxx@yahoo.de
To unsubscribe send a blank email to %%email.unsub%%

The decision on retransmit is done several layers above the miniport, from the timer due to lack of acknowledgement.
Thus you hardly can disable TCP retransmits in the network media-level code which a miniport is.
Even if you will implement your own retransmits - this can deteritoriate the TCP logic due to notion of RTT being too loosely defined.

Max

----- Original Message -----
From: Johnny D
To: xxxxx@lists.osr.com
Cc: xxxxx@storagecraft.com
Sent: Wednesday, May 01, 2002 10:54 PM
Subject: Dropping packets in SendPackets handler - Urgent!

If you want to drop pkts in the SendPackets handler and *do not* want the stack to try and retransmit those packets (basicallY I am taking control of those packets), what is the appropriate status with which you complete the packet?

Is it NDIS_STATUS_NOT_ACCEPTED?.

Thanks !
-Johnny

==== P.S. I would also appreciate if someone could answer my previous question regarding D1 bugcheck as well


Get your FREE download of MSN Explorer at http://explorer.msn.com.