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