Use _delay_us() function in the XPROGTarget.c file to ensure timing requirements...
[pub/USBasp.git] / Projects / 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 #if defined(ENABLE_DHCP)
83 #define UIP_CONF_UDP 1
84 #else
85 #define UIP_CONF_UDP 0
86 #endif
87
88 /**
89 * UDP checksums on or off
90 *
91 * \hideinitializer
92 */
93 #define UIP_CONF_UDP_CHECKSUMS 0
94
95 /**
96 * uIP statistics on or off
97 *
98 * \hideinitializer
99 */
100 #define UIP_CONF_STATISTICS 0
101
102 /**
103 * Broadcast support.
104 *
105 * \hideinitializer
106 */
107 #define UIP_CONF_BROADCAST 0
108
109 /**
110 * The maximum amount of concurrent UDP connections.
111 *
112 * \hideinitializer
113 */
114 #define UIP_CONF_UDP_CONNS 1
115
116 /**
117 * Host identifier define (e.g. MAC address). If defined as 0,
118 * this will use the internal MAC ethernet address define.
119 */
120 #define UIP_NEIGHBOR_CONF_ADDRTYPE 0
121
122 //Include app configuration
123 #include "apps-conf.h"
124
125 #endif /* __UIP_CONF_H__ */
126
127 /** @} */
128 /** @} */