// ndischimney.h
TCP_OFFLOAD_EVENT_HANDLER TcpOffloadEventHandler;
VOID TcpOffloadEventHandler(
[in] IN PVOID OffloadContext,
[in] IN ULONG EventType,
[in] IN ULONG EventSpecificInformation
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
[The TCP chimney offload feature is deprecated and should not be used.]
NDIS calls a protocol driver's or intermediate driver's ProtocolIndicateOffloadEvent function to post an indication that was initiated by an underlying driver's or offload target's call to the NdisTcpOffloadEventHandler function.
OffloadContext
[in]A pointer to the protocol or intermediate driver's NDIS_OFFLOAD_HANDLE structure for the TCP connection on which the indication is being made. The protocol or intermediate driver supplied this pointer as an input parameter to the NdisInitiateOffload function when offloading the connection.
EventType
[in]The event being indicated as one of the following TCP_OFFLOAD_EVENT_TYPE values:
Indicates that the remote host initiated a graceful disconnect by sending a FIN segment on the connection.
Indicates that the offload target is requesting the host stack to terminate the offload of a TCP connection.
Indicates that the remote host initiated an abortive disconnect by sending an acceptable RST segment on the connection.
Indicates a change in the preferred send backlog size.
EventSpecificInformation
[in]Specifies additional information about the event being indicated as follows:
Not meaningful.
Indicates the reason for the upload request as a TCP_UPLOAD_REASON value. For more information, see NdisTcpOffloadEventHandler.
Not meaningful.
Specifies the optimum number of send data bytes that the host stack should have outstanding at the offload target in order to achieve the best data throughput.
To propagate the indication to the overlying driver or host stack, the intermediate driver calls the NdisTcpOffloadEventHandler function. The intermediate driver passes the following parameters to the NdisTcpOffloadEventHandler function: