FreeRTOS+TCP - Passing network descriptors to the event queue

andre-h wrote on Wednesday, November 07, 2018:

Hello
I am working on a LPC1758 using the GCC compiler with the MCUXpresso IDE. I want to setup a TCP/IP stack using FreeRTOS+TCP 2.0.7 and FreeRTOS v10.1.1. I am busy implementing zero copy drivers for the TCP/IP stack. I also statically allocate the network buffers using BufferAllocation_1.c

I would like to know if it is possible to pass a network descriptor that has been created not using the pxGetNetworkBufferWithDescriptor function to the TCP/IP stack’s event queue? Another way of phrasing the question would be if it the TCP/IP’s event queue can accept network descriptors that does not point to a buffer that is pre-allocated as part of the TCP/IP stack in vNetworkInterfaceAllocateRAMToBuffers?

andre-h wrote on Wednesday, November 07, 2018:

I would like to manage the network descriptors for received packets externally from the TCP/IP stack. The way this particular ethernet peripheral works does not allow to use a single network buffer for sending and receiving or to change pointers after the peripheral has been enabled.