Real time embedded FreeRTOS RSS feed 
Homepage FreeRTOS+ Products FreeRTOS Labs Support Forum Contact / Enquiries
FreeRTOS+UDP was removed from the FreeRTOS kernel download from FreeRTOS V10.1.0. See the FreeRTOS+TCP stack, which can be configured for UDP only use, as an alternative.

pucEthernetBufferGet()
[Ethernet Driver Porting API]

FreeRTOS_IP_Private.h
NetworkBufferManagement.h
uint8_t *pucEthernetBufferGet( size_t *pxRequestedSizeBytes );
		

Obtains an Ethernet buffer from the IP stack.

Whereas pxNetworkBufferGet() obtains a network buffer descriptor that can (optionally) reference an Ethernet buffer, pucEthernetBufferGet() just obtains the Ethernet buffer itself.

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


Parameters:

xRequestedSizeBytes   The size of the Ethernet buffer to obtain. The size is specified in bytes.


Returns:

Successful calls return a pointer to the obtained Ethernet buffer. Unsuccessful calls return NULL.

Example usage:

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


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ FreeRTOS+ Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]


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