32 #ifndef __LWIP_ARCH_H__
33 #define __LWIP_ARCH_H__
36 #define LITTLE_ENDIAN 1234
40 #define BIG_ENDIAN 4321
59 #ifndef PACK_STRUCT_BEGIN
60 #define PACK_STRUCT_BEGIN
63 #ifndef PACK_STRUCT_END
64 #define PACK_STRUCT_END
67 #ifndef PACK_STRUCT_FIELD
68 #define PACK_STRUCT_FIELD(x) x
72 #ifndef LWIP_UNUSED_ARG
73 #define LWIP_UNUSED_ARG(x) (void)x
77 #ifdef LWIP_PROVIDE_ERRNO
114 #define ENAMETOOLONG 36
119 #define EWOULDBLOCK EAGAIN
137 #define EDEADLOCK EDEADLK
169 #define EDESTADDRREQ 89
171 #define EPROTOTYPE 91
172 #define ENOPROTOOPT 92
173 #define EPROTONOSUPPORT 93
174 #define ESOCKTNOSUPPORT 94
175 #define EOPNOTSUPP 95
176 #define EPFNOSUPPORT 96
177 #define EAFNOSUPPORT 97
178 #define EADDRINUSE 98
179 #define EADDRNOTAVAIL 99
181 #define ENETUNREACH 101
182 #define ENETRESET 102
183 #define ECONNABORTED 103
184 #define ECONNRESET 104
188 #define ESHUTDOWN 108
189 #define ETOOMANYREFS 109
190 #define ETIMEDOUT 110
191 #define ECONNREFUSED 111
192 #define EHOSTDOWN 112
193 #define EHOSTUNREACH 113
195 #define EINPROGRESS 115
201 #define EREMOTEIO 121
204 #define ENOMEDIUM 123
205 #define EMEDIUMTYPE 124
209 #define ENSRNODATA 160
210 #define ENSRFORMERR 161
211 #define ENSRSERVFAIL 162
212 #define ENSRNOTFOUND 163
213 #define ENSRNOTIMP 164
214 #define ENSRREFUSED 165
215 #define ENSRBADQUERY 166
216 #define ENSRBADNAME 167
217 #define ENSRBADFAMILY 168
218 #define ENSRBADRESP 169
219 #define ENSRCONNREFUSED 170
220 #define ENSRTIMEOUT 171
223 #define ENSRNOMEM 174
224 #define ENSRDESTRUCTION 175
225 #define ENSRQUERYDOMAINTOOLONG 176
226 #define ENSRCNAMELOOP 177