NdisChainBufferAtBack

This function links a specified buffer descriptor to the tail of the buffer-descriptor chain attached to a packet descriptor.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisChainBufferAtBack( IN OUT PNDIS_PACKET Packet,
IN OUT PNDIS_BUFFER
Buffer );

Parameters

Packet
Pointer to the packet descriptor.
Buffer
Pointer to the caller-supplied buffer descriptor to be added to the chain.

Remarks

This function links the specified buffer descriptor either to the end of an existing chain or, if the specified packet has no associated buffer descriptors already, at the head of the chain.

It also resets the valid counts for the packet to FALSE, thus forcing the NdisQueryPacket function to recalculate information about the specified packet if it is called subsequently with that packet.

A driver that calls this function can run at any IRQL, but usually runs at IRQL <=DISPATCH_LEVEL.

See Also

NdisChainBufferAtFront, NdisQueryPacket, NdisUnchainBufferAtBack