NdisTcpOffloadForwardComplete function

An offload target calls the NdisTcpOffloadForwardComplete function to complete one or more forward requests that were made to the MiniportTcpOffloadForward function of the offload target.

Syntax


VOID NdisTcpOffloadForwardComplete(
  _In_  NDIS_HANDLE NdisMiniportHandle,
  _In_  PNET_BUFFER_LIST NetBufferList
);

Parameters

NdisMiniportHandle [in]

The handle that the offload target obtained in a previous call to the NdisMRegisterMiniportDriver function.

NetBufferList [in]

A pointer to a NET_BUFFER_LIST structure. This structure can be stand-alone or the first structure in a linked list of NET_BUFFER_LIST structures. The offload target obtained these structures in one or more calls to its MiniportTcpOffloadForward function.

Return value

None

Remarks

To improve system performance, an offload target can create a linked list that contains NET_BUFFER_LIST structures from multiple calls to the MiniportTcpOffloadForward function. The offload target can then pass such a linked list in a single call to the NdisTcpOffloadForwardComplete function.

An offload target must write one of the following status values to each NET_BUFFER_LIST structure that it passes to the NdisTcpOffloadForwardComplete function:

NDIS_STATUS_SUCCESS

The offload target accepted all the forwarded TCP segments and has processed them.

NDIS_STATUS_UPLOAD_IN_PROGRESS

The offload target will not process the forwarded TCP segments because the specified TCP connection is being uploaded. In this case, the host stack queues and processes the TCP segments.

NDIS_STATUS_REQUEST_ABORTED

The offload target has received an RST segment on the TCP connection. In this case, the host stack does not processes the forwarded TCP segments.

Requirements

Header

Ndischimney.h (include Ndischimney.h)

IRQL

Any level

See also

MiniportTcpOffloadForward
NdisMRegisterMiniportDriver
NET_BUFFER
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft