169 |
return ~(acc & 0xffffUL); |
return ~(acc & 0xffffUL); |
170 |
} |
} |
171 |
|
|
172 |
|
/* Here for now until needed in other places in lwIP */ |
173 |
|
#ifndef isascii |
174 |
|
#define in_range(c, lo, up) ((u8_t)c >= lo && (u8_t)c <= up) |
175 |
|
#define isascii(c) in_range(c, 0x20, 0x7f) |
176 |
|
#define isdigit(c) in_range(c, '0', '9') |
177 |
|
#define isxdigit(c) (isdigit(c) || in_range(c, 'a', 'f') || in_range(c, 'A', 'F')) |
178 |
|
#define islower(c) in_range(c, 'a', 'z') |
179 |
|
#define isspace(c) (c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v') |
180 |
|
#endif |
181 |
|
|
182 |
/*-----------------------------------------------------------------------------------*/ |
/*-----------------------------------------------------------------------------------*/ |
183 |
/* |
/* |
184 |
* Ascii internet address interpretation routine. |
* Ascii internet address interpretation routine. |