Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Homepage FreeRTOS+ Products FreeRTOS Labs Integration Services Contact / Enquiries

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 ]    [ FreeRTOS+ Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]


Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.