Freigeben über


Indicating TCP Chimney-Specific Events

[The TCP chimney offload feature is deprecated and should not be used.]

An offload target calls the NdisTcpOffloadEventHandler function to indicate the following TCP chimney-specific events to the host stack:

Disconnects that are initiated by the remote host

To indicate that it has received a FIN segment from the remote host, an offload target calls the NdisTcpOffloadEventHandler function with the EventType parameter set to TcpIndicateDisconnect.

To indicate that it has received an RST segment from the remote host, an offload target calls the NdisTcpOffloadEventHandler function with the EventType parameter set to TcpIndicateAbort. For more information, see Responding to the Reception of a FIN or RST Segment.

Requests to terminate the offload of a TCP connection

To request that the host stack terminate the offload of a TCP connection, an offload target calls the NdisTcpOffloadEventHandler function with the EventType parameter set to TcpIndicateRetrieve and the EventSpecificInformation parameter set to a TCP_UPLOAD_REASON value that indicates the reason for the request.

Changes in the preferred send backlog size

To indicate a change in the preferred send backlog size, an offload target calls the NdisTcpOffloadEventHandler function with the EventType parameter set to TcpIndicateSendBacklogChange and the EventSpecificInformation parameter set to the optimum number of send data bytes that the host stack should have outstanding at the offload target.

ProtocolTcpOffloadEvent

Responding to the Reception of a FIN or RST Segment