Introduced some more high-level config macros.
This commit is contained in:
parent
14a8cf7200
commit
fda38428d9
3 changed files with 17 additions and 9 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* @(#)$Id: 6502def.h,v 1.5 2007/12/23 12:32:43 oliverschmidt Exp $
|
||||
* @(#)$Id: 6502def.h,v 1.6 2007/12/23 13:55:38 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#ifndef __6502DEF_H__
|
||||
|
@ -60,6 +60,18 @@ typedef unsigned short uip_stats_t;
|
|||
#define UIP_ARCH_ADD32 1
|
||||
#define UIP_ARCH_CHKSUM 1
|
||||
|
||||
#if MTU_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE (UIP_LLH_LEN + MTU_SIZE)
|
||||
#else /* MTU_SIZE */
|
||||
#define UIP_CONF_BUFFER_SIZE (UIP_LLH_LEN + 1500)
|
||||
#endif /* MTU_SIZE */
|
||||
|
||||
#if WITH_BOOST
|
||||
#define UIP_CONF_TCP_SPLIT 1
|
||||
#else /* WITH_BOOST */
|
||||
#define UIP_CONF_TCP_SPLIT 0
|
||||
#endif /* WITH_BOOST */
|
||||
|
||||
#if WITH_CLIENT
|
||||
#define UIP_CONF_ACTIVE_OPEN 1
|
||||
#else /* WITH_CLIENT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue