SNAReleaseElement

The SNAReleaseElement function is called by an application to release a buffer element from an existing buffer.

VOID SNAReleaseElement(
PTRBFELT
*eltptr
);

Parameters

eltptr
Pointer to a pointer to the element to be released.

Remarks

This function should only be used to release surplus elements from a buffer. SNAReleaseBuffer should be called to release the entire buffer.

The released element should first be removed from the element chain and the count of the number of elements updated.

This function is typically used when a received buffer is being reused to transmit a message that is shorter than the incoming message.