Changed default MEM_ALIGNMENT to 4 since even for intel, this is faster!

Minor indentation changes
This commit is contained in:
goldsimon 2007-10-06 16:52:57 +00:00
parent d5ac707a3d
commit 831ad1fe53

View File

@ -89,7 +89,9 @@
/* MEM_ALIGNMENT: should be set to the alignment of the CPU for which
lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2
byte alignment -> define MEM_ALIGNMENT to 2. */
#define MEM_ALIGNMENT 1
/* MSVC port: intel processors don't need 4-byte alignment,
but are faster that way! */
#define MEM_ALIGNMENT 4
/* MEM_SIZE: the size of the heap memory. If the application will send
a lot of data that needs to be copied, this should be set high. */
@ -193,6 +195,8 @@ a lot of data that needs to be copied, this should be set high. */
/* IP reassembly and segmentation.These are orthogonal even
* if they both deal with IP fragments */
#define IP_REASSEMBLY 1
#define IP_REASS_MAX_PBUFS 3
#define MEMP_NUM_REASSDATA 10
#define IP_FRAG 1
/* ---------- ICMP options ---------- */
@ -241,7 +245,7 @@ a lot of data that needs to be copied, this should be set high. */
#define PPP_SUPPORT 0 /* Set > 0 for PPP */
#if PPP_SUPPORT > 0
#if PPP_SUPPORT
#define NUM_PPP 1 /* Max PPP sessions. */
@ -311,6 +315,6 @@ a lot of data that needs to be copied, this should be set high. */
#define MAXNAMELEN 256 /* max length of hostname or name for auth */
#define MAXSECRETLEN 256 /* max length of password or secret */
#endif /* PPP_SUPPORT > 0 */
#endif /* PPP_SUPPORT */
#endif /* __LWIPOPTS_H__ */