d3d9bc4535fccefa48b831338b9a2551de359422
[pub/USBasp.git] / Projects / Incomplete / Webserver / Lib / uip / conf / uip-conf.h
1 #ifndef __UIP_CONF_H__
2 #define __UIP_CONF_H__
3
4 #include <inttypes.h>
5 #include <avr/io.h>
6 #include <stdio.h>
7 #include <stdbool.h>
8
9 #define UIP_CONF_LLH_LEN 14
10
11 /**
12 * 8 bit datatype
13 *
14 * This typedef defines the 8-bit type used throughout uIP.
15 *
16 * \hideinitializer
17 */
18 typedef uint8_t u8_t;
19
20 /**
21 * 16 bit datatype
22 *
23 * This typedef defines the 16-bit type used throughout uIP.
24 *
25 * \hideinitializer
26 */
27 typedef uint16_t u16_t;
28
29 /**
30 * Statistics datatype
31 *
32 * This typedef defines the dataype used for keeping statistics in
33 * uIP.
34 *
35 * \hideinitializer
36 */
37 typedef unsigned short uip_stats_t;
38
39 #define UIP_CONF_IPV6 0
40 #define UIP_ARCH_ADD32 0
41 #define UIP_ARCH_CHKSUM 0
42
43 /**
44 * Maximum number of TCP connections.
45 *
46 * \hideinitializer
47 */
48 #define UIP_CONF_MAX_CONNECTIONS 5
49
50 /**
51 * Maximum number of listening TCP ports.
52 *
53 * \hideinitializer
54 */
55 #define UIP_CONF_MAX_LISTENPORTS 1
56
57 /**
58 * uIP buffer size.
59 *
60 * \hideinitializer
61 */
62 #define UIP_CONF_BUFFER_SIZE 1500
63 /**
64 * CPU byte order.
65 *
66 * \hideinitializer
67 */
68 #define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
69
70 /**
71 * Logging on or off
72 *
73 * \hideinitializer
74 */
75 #define UIP_CONF_LOGGING 0
76
77 /**
78 * UDP support on or off
79 *
80 * \hideinitializer
81 */
82 #define UIP_CONF_UDP 0
83
84 /**
85 * UDP checksums on or off
86 *
87 * \hideinitializer
88 */
89 #define UIP_CONF_UDP_CHECKSUMS 0
90
91 /**
92 * uIP statistics on or off
93 *
94 * \hideinitializer
95 */
96 #define UIP_CONF_STATISTICS 0
97
98 /**
99 * Broadcast support.
100 *
101 * \hideinitializer
102 */
103 #define UIP_CONF_BROADCAST 0
104
105 /**
106 * The maximum amount of concurrent UDP connections.
107 *
108 * \hideinitializer
109 */
110 #define UIP_CONF_UDP_CONNS 1
111
112 //Include app configuration
113 #include "apps-conf.h"
114
115 #endif /* __UIP_CONF_H__ */
116
117 /** @} */
118 /** @} */