/[lwip]/lwip/proj/unixsim/lwipopts.h
ViewVC logotype

Diff of /lwip/proj/unixsim/lwipopts.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by likewise, Mon Nov 18 10:30:02 2002 UTC revision 1.3 by jani, Fri Nov 22 15:35:33 2002 UTC
# Line 31  Line 31 
31   */   */
32  #ifndef __LWIPOPTS_H__  #ifndef __LWIPOPTS_H__
33  #define __LWIPOPTS_H__  #define __LWIPOPTS_H__
   
34  /* ---------- Memory options ---------- */  /* ---------- Memory options ---------- */
35  /* MEM_ALIGNMENT: should be set to the alignment of the CPU for which  /* MEM_ALIGNMENT: should be set to the alignment of the CPU for which
36     lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2     lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2
# Line 62  a lot of data that needs to be copied, t Line 61  a lot of data that needs to be copied, t
61     timeouts. */     timeouts. */
62  #define MEMP_NUM_SYS_TIMEOUT    3  #define MEMP_NUM_SYS_TIMEOUT    3
63    
   
64  /* The following four are used only with the sequential API and can be  /* The following four are used only with the sequential API and can be
65     set to 0 if the application only will use the raw API. */     set to 0 if the application only will use the raw API. */
66  /* MEMP_NUM_NETBUF: the number of struct netbufs. */  /* MEMP_NUM_NETBUF: the number of struct netbufs. */
# Line 85  a lot of data that needs to be copied, t Line 83  a lot of data that needs to be copied, t
83    
84  /* ---------- Pbuf options ---------- */  /* ---------- Pbuf options ---------- */
85  /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */  /* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
86  #define PBUF_POOL_SIZE          6  #define PBUF_POOL_SIZE          100
87    
88  /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */  /* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
89  #define PBUF_POOL_BUFSIZE       128  #define PBUF_POOL_BUFSIZE       128
# Line 136  a lot of data that needs to be copied, t Line 134  a lot of data that needs to be copied, t
134     defined to 0, all packets with IP options are dropped. */     defined to 0, all packets with IP options are dropped. */
135  #define IP_OPTIONS              1  #define IP_OPTIONS              1
136    
137    /* IP reassembly and segmentation.These are orthogonal even
138     * if they both deal with IP fragments */
139    #define IP_REASSEMBLY     1
140    #define IP_FRAG           1
141    
142  /* ---------- ICMP options ---------- */  /* ---------- ICMP options ---------- */
143  #define ICMP_TTL                255  #define ICMP_TTL                255
144    
   
145  /* ---------- DHCP options ---------- */  /* ---------- DHCP options ---------- */
146  /* Define LWIP_DHCP to 1 if you want DHCP configuration of  /* Define LWIP_DHCP to 1 if you want DHCP configuration of
147     interfaces. DHCP is not implemented in lwIP 0.5.1, however, so     interfaces. DHCP is not implemented in lwIP 0.5.1, however, so

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26