Added high level config macro for the new compiletime forwarding option.

This commit is contained in:
oliverschmidt 2008-03-29 15:21:51 +00:00
parent 12f6b3c206
commit 3d1d6e333c

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* @(#)$Id: 6502def.h,v 1.10 2008/02/16 08:56:29 oliverschmidt Exp $ * @(#)$Id: 6502def.h,v 1.11 2008/03/29 15:21:51 oliverschmidt Exp $
*/ */
#ifndef __6502DEF_H__ #ifndef __6502DEF_H__
@ -83,6 +83,12 @@ typedef unsigned short uip_stats_t;
#define UIP_CONF_TCP_SPLIT 0 #define UIP_CONF_TCP_SPLIT 0
#endif /* WITH_BOOST */ #endif /* WITH_BOOST */
#if WITH_FORWARDING
#define UIP_CONF_TCP_FORWARD 1
#else /* WITH_BOOST */
#define UIP_CONF_TCP_FORWARD 0
#endif /* WITH_BOOST */
#if WITH_CLIENT #if WITH_CLIENT
#define UIP_CONF_ACTIVE_OPEN 1 #define UIP_CONF_ACTIVE_OPEN 1
#else /* WITH_CLIENT */ #else /* WITH_CLIENT */