|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.|
[Ethernet Driver Porting API]
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).
The size of the Ethernet buffer to obtain. The size
is specified in bytes.
Successful calls return a pointer to the obtained Ethernet buffer. Unsuccessful calls return NULL.
Examples are provided on the Porting FreeRTOS to a Different Microcontroller page.