Hi Fabian, for clarity's sake: lwIP uses internally its own representation, and there are macros to convert from network format to host format. I guess all systems are more or less like that.
You are supposed to have a fast macro, preferably with machine code instructions, because it is going to be used a lot. That should be a part of your arch port. Have a look at (or just use) my ARM Cortex-M generic (CMSIS) port: http://scaprile.ldir.com.ar/cms/category/os/lwip-port and also have a look at my ethernet code to see how it uses that macro: http://scaprile.ldir.com.ar/cms/el-ingeniero/open-source-projects-im-working-on/ Regards _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users