[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Custom Memory Pool in lwip
From: |
Sushain Razdan |
Subject: |
[lwip-users] Custom Memory Pool in lwip |
Date: |
Thu, 30 Jun 2016 12:53:39 +0530 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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] Custom Memory Pool in lwip,
Sushain Razdan <=