Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 7 of 7) sorted by relevance

/mOS-networking-stack/util/
H A Dhttp_parsing.c23 while (!hdr_len && (temp = strchr(temp, '\n')) != NULL) { in find_http_header()
24 temp++; in find_http_header()
27 else if (len > 0 && *temp == '\r' && *(temp + 1) == '\n') in find_http_header()
47 while (*temp && (temp = strchr(temp, '\n'))) { in http_header_str_val()
52 if (temp == NULL || *temp == '\0') { in http_header_str_val()
59 while (*temp && SPACE_OR_TAB(*temp)) in http_header_str_val()
60 temp++; in http_header_str_val()
63 if (*temp == '\0' || CR_OR_NEWLINE(*temp)) { in http_header_str_val()
97 char *temp; in http_get_url() local
109 temp = ret; in http_get_url()
[all …]
H A Dnetlib.c210 char *temp = strstr(buf, header); in GetHeaderString() local
212 if (temp) { in GetHeaderString()
213 temp += hdrsize; in GetHeaderString()
214 SKIP_SPACE(temp); in GetHeaderString()
215 if (*temp) in GetHeaderString()
216 return (temp); in GetHeaderString()
225 char *temp; in GetHeaderLong() local
227 if ((temp = GetHeaderString(buf, header, hdrsize)) != NULL) { in GetHeaderLong()
228 temp_val = strtol(temp, NULL, 10); in GetHeaderLong()
/mOS-networking-stack/samples/simple_firewall/
H A Dsimple_firewall.c138 s = *temp; *temp = 0; /* replace the end character with null */ in ExtractPort()
154 if (check != temp) in ExtractPort()
180 while ((*temp) && !isspace(*temp) && (*temp) != '/') temp++; in ExtractIPAddress()
182 s = *temp; *temp = 0; in ExtractIPAddress()
186 (*temp) = s; in ExtractIPAddress()
190 buf = temp + 1; in ExtractIPAddress()
191 SKIP_CHAR(temp); in ExtractIPAddress()
192 s = *temp; *temp = 0; in ExtractIPAddress()
197 if (check != temp) in ExtractIPAddress()
205 (*temp) = s; in ExtractIPAddress()
[all …]
/mOS-networking-stack/samples/common/
H A Dapplib.c90 char *temp; in LoadConfig() local
103 if ((temp = strchr(p, '#'))) in LoadConfig()
104 *temp = '\0'; in LoadConfig()
/mOS-networking-stack/core/src/
H A Darp.c221 unsigned char *temp; in ProcessARPRequest() local
224 temp = GetDestinationHWaddr(arph->ar_sip); in ProcessARPRequest()
225 if (!temp) { in ProcessARPRequest()
238 unsigned char *temp; in ProcessARPReply() local
242 temp = GetDestinationHWaddr(arph->ar_sip); in ProcessARPReply()
243 if (!temp) { in ProcessARPReply()
H A Dlogger.c144 char temp[1]; in ThreadLogMain() local
145 int ret = read(ctx->sp_fd, temp, 1); in ThreadLogMain()
/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dconnections.c79 connection *temp; in connection_del() local
95 temp = conns->ptr[i]; in connection_del()
97 conns->ptr[conns->used - 1] = temp; in connection_del()