Go to the documentation of this file.
66 #if BYTE_ORDER == LITTLE_ENDIAN
68 #if !defined(lwip_htons)
80 #if !defined(lwip_htonl)
106 size_t tokenlen =
strlen(token);
110 for (p =
buffer; *p && (p + tokenlen <=
buffer + n); p++) {
111 if ((*p == *token) && (
strncmp(p, token, tokenlen) == 0)) {
134 char c1_upc = c1 | 0x20;
135 if ((c1_upc >=
'a') && (c1_upc <=
'z')) {
138 char c2_upc = c2 | 0x20;
139 if (c1_upc != c2_upc) {
154 #ifndef lwip_strnicmp
169 char c1_upc = c1 | 0x20;
170 if ((c1_upc >=
'a') && (c1_upc <=
'z')) {
173 char c2_upc = c2 | 0x20;
174 if (c1_upc != c2_upc) {
184 }
while (
len-- && c1 != 0);
199 char* ptr = result, *ptr1 = result, tmp_char;
206 *ptr++ =
"zyxwvutsrqponmlkjihgfedcba9876543210123456789abcdefghijklmnopqrstuvwxyz"[35 + (tmp_value - number * base)];
int lwip_strnicmp(const char *str1, const char *str2, size_t len)
int strlen(const char *str)
char * lwip_strnstr(const char *buffer, const char *token, size_t n)
#define LWIP_UNUSED_ARG(x)
u32_t lwip_htonl(u32_t n)
u16_t lwip_htons(u16_t n)
void lwip_itoa(char *result, size_t bufsize, int number)
int lwip_stricmp(const char *str1, const char *str2)
int strncmp(const char *str1, const char *str2, int len)
#define LWIP_CONST_CAST(target_type, val)