HI, I am a newbie to LWIP. I want declare my custom Memory Pools in lwippools.h using Macro LWIP_MEMPOOL, but the size of the pool depends upon structures declared in other header files. As per my understanding we cannot directly include a header from lwippools.h (due to a complex header inclusion of lwippools.h from memp_std.h). Also it gives me a lot of unrelated compilation errors, if I do so.
Additionally I noticed that in mem_std.h, the standard pool declaration easily refers to different structures of lwip, but their corresponding headers are not included. I wasn't even able to find any forward deceleration of structures in memp.h. So how does lwip find the standard structures ? What should I do so that lwip is able to find my custom structures from lwippools.h Thanks, Sushain DISCLAIMER This message and any attachment therewith is privileged, confidential and proprietary in nature and the property of the originator. It is intended solely and exclusively for use by the individual to whom it is addressed. It should not be circulated or used for any purpose other than for what is stated. If you have received this message erroneously, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message and are called upon to delete the same from your system. Any contradictory action by you may invite penal consequences. Vihaan Networks Limited accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including but not limited to damage from virus." _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
