NdisCopyReceiveNetBufferListInfo function

Intermediate drivers call the NdisCopyReceiveNetBufferListInfo function to copy the NET_BUFFER_LIST information in a received NET_BUFFER_LIST structure.

Syntax

void NdisCopyReceiveNetBufferListInfo(
  PNET_BUFFER_LIST DestNetBufferList,
  PNET_BUFFER_LIST SrcNetBufferList
);

Parameters

DestNetBufferList

A pointer to the destination NET_BUFFER_LIST structure.

SrcNetBufferList

A pointer to the source NET_BUFFER_LIST structure.

Return Value

None

Remarks

When an intermediate driver or filter driver gets receive indications from an underlying driver, it can, for example, clone the NET_BUFFER_LIST structure or allocate a new structure to propagate the request to overlying drivers. The driver should use NdisCopyReceiveNetBufferListInfo to copy the NET_BUFFER_LIST information, including private NDIS information, to the new structure.

To copy the NET_BUFFER_LIST information on the send path, use the NdisCopySendNetBufferListInfo function.

The following NET_BUFFER_LIST items are copied in a call to NdisCopyReceiveNetBufferListInfo:

Copied Item Starting Windows Version
TcpIpChecksumNetBufferListInfo Windows Vista
IPsecOffloadV1NetBufferListInfo Windows Vista
TcpReceiveNoPush Windows Vista
Ieee8021QNetBufferListInfo Windows Vista
MediaSpecificInformation Windows Vista
NetBufferListFrameType Windows Vista
NetBufferListHashValue Windows Vista
NetBufferListHashInfo Windows Vista
IPsecOffloadV2TunnelNetBufferListInfo Windows Vista with Service Pack 1 (SP1)
IPsecOffloadV2HeaderNetBufferListInfo Windows Vista with SP1
VirtualSubnetInfo Windows 8 (AMD64 only)
NetBufferListFilteringInfo Windows 8

Requirements

   
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL "<= DISPATCH_LEVEL"
DDI compliance rules Irql_NetBuffer_Function

See Also

NET_BUFFER_LIST

NET_BUFFER_LIST Structure

NdisCopySendNetBufferListInfo