7 * \name Project-specific configuration options
\r
10 * uIP has a number of configuration options that can be overridden
\r
11 * for each project. These are kept in a project-specific uip-conf.h
\r
12 * file and all configuration names have the prefix UIP_CONF.
\r
16 * Copyright (c) 2006, Swedish Institute of Computer Science.
\r
17 * All rights reserved.
\r
19 * Redistribution and use in source and binary forms, with or without
\r
20 * modification, are permitted provided that the following conditions
\r
22 * 1. Redistributions of source code must retain the above copyright
\r
23 * notice, this list of conditions and the following disclaimer.
\r
24 * 2. Redistributions in binary form must reproduce the above copyright
\r
25 * notice, this list of conditions and the following disclaimer in the
\r
26 * documentation and/or other materials provided with the distribution.
\r
27 * 3. Neither the name of the Institute nor the names of its contributors
\r
28 * may be used to endorse or promote products derived from this software
\r
29 * without specific prior written permission.
\r
31 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
\r
32 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
\r
33 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
\r
34 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
\r
35 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
\r
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
\r
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
\r
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
\r
39 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
\r
40 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
\r
43 * This file is part of the uIP TCP/IP stack
\r
45 * $Id: uip-conf.h,v 1.6 2006/06/12 08:00:31 adam Exp $
\r
50 * An example uIP configuration file
\r
52 * Adam Dunkels <adam@sics.se>
\r
55 * Modified for MiMic by R.Iizuka. 2011.08.27
\r
56 * http://nyatla.jp/mimic
\r
59 #ifndef __UIP_CONF_H__
\r
60 #define __UIP_CONF_H__
\r
66 #endif /* __cplusplus */
\r
71 * This typedef defines the 8-bit type used throughout uIP.
\r
75 typedef uint8_t u8_t;
\r
80 * This typedef defines the 16-bit type used throughout uIP.
\r
84 typedef uint16_t u16_t;
\r
87 typedef uint32_t u32_t;
\r
89 * Statistics datatype
\r
91 * This typedef defines the dataype used for keeping statistics in
\r
96 typedef unsigned short uip_stats_t;
\r
102 /* Here we include the header file for the application(s) we use in our project. */
\r
103 extern void NyLPC_cUipService_tcpAppProc(void);
\r
104 #define UIP_APPCALL NyLPC_cUipService_tcpAppProc
\r
106 #endif /* __UIP_CONF_H__ */
\r
110 #endif /* __cplusplus */
\r