34 #ifndef __CONTIKI_CONF_H__
35 #define __CONTIKI_CONF_H__
40 #define CC_CONF_REGISTER_ARGS 1
41 #define CC_CONF_FUNCTION_POINTER_ARGS 1
42 #define CC_CONF_FASTCALL
43 #define CC_CONF_VA_ARGS 1
49 typedef uint16_t
u16_t;
50 typedef uint32_t
u32_t;
51 typedef int32_t
s32_t;
83 #define WEBSERVER_CONF_STATUSPAGE 1
97 #define RPL_CONF_ADJUST_LLH_LEN 1
98 #define HARD_CODED_ADDRESS "bbbb::10" //the prefix is ignored for a rpl node
99 #define UIP_CONF_ROUTER 0
100 #define UIP_CONF_ND6_SEND_RA 0
101 #define UIP_CONF_ND6_REACHABLE_TIME 600000
102 #define UIP_CONF_ND6_RETRANS_TIMER 10000
104 #if RPL_BORDER_ROUTER
122 #undef UIP_CONF_ROUTER
123 #define UIP_CONF_ROUTER 1
126 #undef UIP_FALLBACK_INTERFACE
127 #define UIP_FALLBACK_INTERFACE rpl_interface
129 #undef HARD_CODED_ADDRESS
130 #define HARD_CODED_ADDRESS "bbbb::1" //bbbb::ff:fe00:1 is the RPL border router default
138 #define UIP_CONF_MAX_LISTENPORTS 40
139 #define UIP_CONF_MAX_CONNECTIONS 40
140 #define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
141 #define UIP_CONF_TCP_SPLIT 0
142 #define UIP_CONF_IP_FORWARD 0
143 #define UIP_CONF_LOGGING 0
144 #define UIP_CONF_UDP_CHECKSUMS 0
147 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
149 #define UIP_CONF_UDP 1
150 #define UIP_CONF_TCP 1
153 #define UIP_CONF_IPV6_QUEUE_PKT 1
154 #define UIP_CONF_IPV6_CHECKS 1
155 #define UIP_CONF_IPV6_REASSEMBLY 1
160 #define UIP_CONF_DS6_NBR_NBU 100
161 #define UIP_CONF_DS6_DEFRT_NBU 2
162 #define UIP_CONF_DS6_PREFIX_NBU 5
163 #define UIP_CONF_DS6_ROUTE_NBU 100
164 #define UIP_CONF_DS6_ADDR_NBU 10
165 #define UIP_CONF_DS6_MADDR_NBU 0
166 #define UIP_CONF_DS6_AADDR_NBU 0
169 typedef unsigned long clock_time_t;
170 #define CLOCK_CONF_SECOND 1000
171 #define INFINITE_TIME ULONG_MAX
173 #define LOG_CONF_ENABLED 1
176 int strcasecmp(
const char*,
const char*);