There are docs you should (must) read.
They are in the distribution itself.
There is a wiki you should read.
http://lwip.wikia.com/wiki/LwIP_Wiki
If I understand what I think you are asking:
lwIP is a TCP/IP stack, layer-2 frames are responsability of the
hardware and a user piece of code, the
Amit Ashara wrote:
> [..] The function that the receive performs is highly varied based on the
> context of the TLV.
That's also true for transmission. E.g. going back to the profinet case, there
are numerous other
things to send. You'd need to find a way to make sending configurable to make