NdisChainBufferAtBack

VOID
    NdisChainBufferAtBack(

        IN OUT PNDIS_PACKET  Packet,
        IN OUT PNDIS_BUFFER  Buffer
        );

NdisChainBufferAtBack links a given buffer descriptor to the tail of the buffer-descriptor chain attached to a packet descriptor.

Parameters

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

Comments

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

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

Callers of NdisChainBufferAtBack can run at any IRQL but usually run at IRQL <= DISPATCH_LEVEL.

See Also

NdisChainBufferAtFront, NdisQueryPacket, NdisUnchainBufferAtBack