Back to home page

Quest Cross Reference

 
 

    


Warning, cross-references for /kernel/include/lwipopts.h need to be fixed.

0001 /*                    The Quest Operating System
0002  *  Copyright (C) 2005-2010  Richard West, Boston University
0003  *
0004  *  This program is free software: you can redistribute it and/or modify
0005  *  it under the terms of the GNU General Public License as published by
0006  *  the Free Software Foundation, either version 3 of the License, or
0007  *  (at your option) any later version.
0008  *
0009  *  This program is distributed in the hope that it will be useful,
0010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  *  GNU General Public License for more details.
0013  *
0014  *  You should have received a copy of the GNU General Public License
0015  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
0016  */
0017 
0018 #ifndef __LWIPOPTS_H__
0019 #define __LWIPOPTS_H__
0020 
0021 /* Modified by: Matthew Danish (md) while porting to Quest */
0022 
0023 #define LWIP_DHCP         1
0024 
0025 #define NO_SYS            1
0026 #define LWIP_SOCKET       0
0027 #define LWIP_NETCONN      0
0028 #define LWIP_RAW          0
0029 
0030 /* MEM_SIZE: the size of the heap memory. If the application will send
0031 a lot of data that needs to be copied, this should be set high. */
0032 #define MEM_SIZE                32000
0033 
0034 /* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
0035    sends a lot of data out of ROM (or other static memory), this
0036    should be set high. */
0037 #define MEMP_NUM_PBUF           60
0038 
0039 /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
0040 #define PBUF_POOL_SIZE          92
0041 
0042 #if 0
0043 #define LWIP_DEBUG
0044 #define LWIP_DBG_TYPES_ON               (~0)
0045 #define ETHARP_DEBUG                    LWIP_DBG_ON
0046 #define IP_DEBUG                        LWIP_DBG_ON
0047 #define UDP_DEBUG                       LWIP_DBG_ON
0048 #endif
0049 
0050 #endif /* __LWIPOPTS_H__ */