[ ]
Real time embedded FreeRTOS mailing list 
Homepage FreeRTOS Labs FreeRTOS+TCP FreeRTOS+FAT Contact / Enquiries


FreeRTOS+TCP V2 is now included in the main FreeRTOS kernel download under the MIT license.

vReleaseNetworkBuffer()
[Ethernet Driver Porting API]

FreeRTOS_IP_Private.h
NetworkBufferManagement.h
void vReleaseNetworkBuffer( uint8_t *pucPayloadBuffer );
		

Returns to the TCP/IP stack an Ethernet buffer that was previously obtained from the TCP/IP stack.

vReleaseNetworkBuffer() would normally only be used by a zero copy driver to release buffers that were previously allocated to DMA descriptors. Normally network buffers are allocated and released along with descriptors using pxGetNetworkBufferWithDescriptor() and vReleaseNetworkBufferAndDescriptor() respectively.

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


Parameters:

pucPayloadBuffer   A pointer to the Ethernet buffer being released (returned to the TCP/IP stack).


Example usage:

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


[ Back to the top ]    [ About FreeRTOS ]    [ FreeRTOS Labs Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]




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