Real time embedded FreeRTOS RSS feed 
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) Amazon Web Services, Inc. or its affiliates. All rights reserved.