]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Provide default value for MEMP_NUM_TCPIP_MSG_INPUT if not defined.
authormarcbou <marcbou>
Thu, 16 Aug 2007 20:39:29 +0000 (20:39 +0000)
committermarcbou <marcbou>
Thu, 16 Aug 2007 20:39:29 +0000 (20:39 +0000)
src/include/lwip/opt.h

index a85cdcf4c6741c0a6c3a64990964518f04200d26..28f2cca9173bc06538ab9a59e7e204543a8a942e 100644 (file)
 #define MEMP_NUM_NETCONN                4
 #endif
 /* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used
-   for sequential API communication and incoming packets. Used in
-   src/api/tcpip.c. */
+   for callback/timeout API communication. Used in src/api/tcpip.c. */
 #ifndef MEMP_NUM_TCPIP_MSG
 #define MEMP_NUM_TCPIP_MSG              8
 #endif
+/* MEMP_NUM_TCPIPMSG_INPUT: the number of struct tcpip_msg, which is used
+   for incoming packets. Used in src/api/tcpip.c. */
+#ifndef MEMP_NUM_TCPIP_MSG_INPUT
+#define MEMP_NUM_TCPIP_MSG_INPUT         MEMP_NUM_TCPIP_MSG
+#endif
 
 /* ---------- ARP options ---------- */
 #ifndef LWIP_ARP