[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] where could I find the definition of MEMP_PBUF_POOL used in
From: |
kanprin |
Subject: |
[lwip-users] where could I find the definition of MEMP_PBUF_POOL used in pbuf.c? |
Date: |
Thu, 10 Apr 2008 18:37:34 -0700 (PDT) |
it appears three times in the pbuf.c, but I could not reach its definition ,
where does it defined ? or which num should I define it?
in pbuf.c
line 145: p = memp_malloc(MEMP_PBUF_POOL);
line 175: q = memp_malloc(MEMP_PBUF_POOL);
line 498: memp_free(MEMP_PBUF_POOL, p);
the MEMP_PBUF_POOL must be memp_t type through memp_malloc();
memp_t is defined in memp.h as
typedef enum {
MEMP_PBUF,
MEMP_RAW_PCB,
MEMP_UDP_PCB,
MEMP_TCP_PCB,
MEMP_TCP_PCB_LISTEN,
MEMP_TCP_SEG,
MEMP_NETBUF,
MEMP_NETCONN,
MEMP_API_MSG,
MEMP_TCPIP_MSG,
MEMP_SYS_TIMEOUT,
MEMP_MAX
} memp_t;
but still no MEMP_PBUF_POOL;
regards !
--
View this message in context:
http://www.nabble.com/where-could-I-find-the-definition-of-MEMP_PBUF_POOL-used-in-pbuf.c--tp16623523p16623523.html
Sent from the lwip-users mailing list archive at Nabble.com.
- [lwip-users] where could I find the definition of MEMP_PBUF_POOL used in pbuf.c?,
kanprin <=