TCP_OFFLOAD_EVENT_HANDLER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ndischimney-tcp_offload_event_handler)

TCP_OFFLOAD_EVENT_HANDLER callback function

Description

[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.

Parameters

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:

TcpIndicateDisconnect

Indicates that the remote host initiated a graceful disconnect by sending a FIN segment on the connection.

TcpIndicateRetrieve

Indicates that the offload target is requesting the host stack to terminate the offload of a TCP connection.

TcpIndicateAbort

Indicates that the remote host initiated an abortive disconnect by sending an acceptable RST segment on the connection.

TcpIndicateSendBacklogChange

Indicates a change in the preferred send backlog size.

EventSpecificInformation [in]

Specifies additional information about the event being indicated as follows:

TcpIndicateDisconnect

Not meaningful.

TcpIndicateRetrieve

Indicates the reason for the upload request as a TCP_UPLOAD_REASON value. For more information, see NdisTcpOffloadEventHandler.

TcpIndicateAbort

Not meaningful.

TcpIndicateSendBacklogChange

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.

Remarks

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:

See also

NdisTcpOffloadEventHandler