vReleaseNetworkBufferAndDescriptor()
[Ethernet Driver Porting API]

FreeRTOS_IP_Private.h
NetworkBufferManagement.h
void vReleaseNetworkBufferAndDescriptor( NetworkBufferDescriptor_t * const pxNetworkBuffer );
		

Returns to the TCP/IP stack a network buffer descriptor that was previously obtained from the TCP/IP stack by a call to pxGetNetworkBufferWithDescriptor().

If the network buffer descriptor references an Ethernet buffer then the Ethernet buffer is also returned.

pxGetNetworkBufferWithDescriptor() must not be called from an interrupt service routine (ISR).


Parameters:

pxNetworkBuffer   A pointer to the network buffer descriptor being released (returned to the TCP/IP stack).


Example usage:

Examples are provided on the Porting FreeRTOS to a Different Microcontroller page.