[The TCP chimney offload feature is deprecated and should not be used.]
An offload target calls the NdisMOffloadEventIndicate function to indicate various events to the host stack.
void NdisMOffloadEventIndicate( IN NDIS_HANDLE NdisMiniportHandle, IN PNDIS_MINIPORT_OFFLOAD_BLOCK_LIST OffloadBlockList, IN ULONG IndicationCode );
The handle that the offload target obtained in a previous call to NdisMRegisterMiniportDriver.
A pointer to an NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure. This structure identifies the offloaded state object on which the indication is being made. Note that there is only one NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure. There is not a linked list of such structures.
The offload target supplies a valid OffloadBlockList pointer when making a NeighborReachabilityQuery indication. In this case, the offload target supplies a NEIGHBOR_OFFLOAD_STATE_CONST structure, a NEIGHBOR_OFFLOAD_STATE_CACHED structure, and a NEIGHBOR_OFFLOAD_STATE_DELEGATED structure (in that order) immediately following the NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure referenced by the OffloadBlockList pointer.
An offload target must initialize the following members of an NDIS_MINIPORT_OFFLOAD_BLOCK_LIST structure that it passes to the NdisMOffloadEventIndicate function:
- All members of the NDIS_OBJECT_HEADER structure, including Type, Revision, and Size . The offload target must initialize Type to NeighborOffloadState.
- The NextBlock pointer to a non-NULL value if there is a next block; otherwise, to NULL.
- The DependentBlockList pointer to NULL.
- The Status member to NDIS_STATUS_SUCCESS.
For all indications other than the NeighborReachabilityQuery indication, the offload target supplies an OffloadBlockList pointer that is NULL.
The event being indicated is specified as one of the following INDICATE_OFFLOAD_EVENT values:
Indicates that a neighbor cache entry (NCE) has become stale. For more information about NCEs, see RFC 2461.
The host stack uses the NeighborReachabilityQuery indication to detect neighbor unreachability for IPv4 and IPv6. For a detailed description of this indication, see Making a NeighborReachabilityQuery Indication.
|Header||ndischimney.h (include Ndischimney.h)|
See AlsoNDIS_MINIPORT_OFFLOAD_BLOCK_LIST NEIGHBOR_OFFLOAD_STATE_DELEGATED