|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include "lwip/opt.h"#include "lwip/memp.h"#include "lwip/sys.h"#include "lwip/stats.h"#include <string.h>#include "lwip/pbuf.h"#include "lwip/raw.h"#include "lwip/udp.h"#include "lwip/tcp.h"#include "lwip/priv/tcp_priv.h"#include "lwip/altcp.h"#include "lwip/ip4_frag.h"#include "lwip/netbuf.h"#include "lwip/api.h"#include "lwip/priv/tcpip_priv.h"#include "lwip/priv/api_msg.h"#include "lwip/priv/sockets_priv.h"#include "lwip/etharp.h"#include "lwip/igmp.h"#include "lwip/timeouts.h"#include "netif/ppp/ppp_opts.h"#include "lwip/netdb.h"#include "lwip/dns.h"#include "lwip/priv/nd6_priv.h"#include "lwip/ip6_frag.h"#include "lwip/mld6.h"#include "lwip/priv/memp_std.h"Go to the source code of this file.
Macros | |
| #define | LWIP_MEMPOOL(name, num, size, desc) |
| #define | LWIP_MEMPOOL(name, num, size, desc) |
| #define | LWIP_MALLOC_MEMPOOL(num, size) |
| #define | LWIP_MALLOC_MEMPOOL_START |
| #define | LWIP_MALLOC_MEMPOOL_END |
| #define | LWIP_PBUF_MEMPOOL(name, num, payload, desc) |
Functions | |
| void | memp_init_pool (const struct memp_desc *desc) |
| void | memp_init (void) |
| void * | memp_malloc_pool (const struct memp_desc *desc) |
| void * | memp_malloc (memp_t type) |
| void | memp_free_pool (const struct memp_desc *desc, void *mem) |
| void | memp_free (memp_t type, void *mem) |
Variables | |
| const struct memp_desc *const | memp_pools [MEMP_MAX] |
Dynamic pool memory manager
lwIP has dedicated pools for many structures (netconn, protocol control blocks, packet buffers, ...). All these pools are managed here.
Definition in file memp.c.
| #define LWIP_MALLOC_MEMPOOL | ( | num, | |
| size ) |
| #define LWIP_MEMPOOL | ( | name, | |
| num, | |||
| size, | |||
| desc ) |
| #define LWIP_MEMPOOL | ( | name, | |
| num, | |||
| size, | |||
| desc ) |
| #define LWIP_PBUF_MEMPOOL | ( | name, | |
| num, | |||
| payload, | |||
| desc ) |
| void memp_free | ( | memp_t | type, |
| void * | mem ) |
| void memp_free_pool | ( | const struct memp_desc * | desc, |
| void * | mem ) |
| void memp_init | ( | void | ) |
| void memp_init_pool | ( | const struct memp_desc * | desc | ) |
| void * memp_malloc | ( | memp_t | type | ) |
| void * memp_malloc_pool | ( | const struct memp_desc * | desc | ) |