Quality RTOS & Embedded Software


[Ethernet Driver Porting API]

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).


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.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.