Home
last modified time | relevance | path

Searched refs:res_idx (Results 1 - 1 of 1) sorted by relevance

/third_party/lwip/src/core/
H A Ddns.c1267 u16_t res_idx; in dns_recv() local
1340 res_idx = dns_compare_name(entry->name, p, SIZEOF_DNS_HDR); in dns_recv()
1341 if (res_idx == 0xFFFF) { in dns_recv()
1347 if (pbuf_copy_partial(p, &qry, SIZEOF_DNS_QUERY, res_idx) != SIZEOF_DNS_QUERY) { in dns_recv()
1357 if (res_idx + SIZEOF_DNS_QUERY > 0xFFFF) { in dns_recv()
1360 res_idx = (u16_t)(res_idx + SIZEOF_DNS_QUERY); in dns_recv()
1380 while ((nanswers > 0) && (res_idx < p->tot_len)) { in dns_recv()
1382 res_idx = dns_skip_name(p, res_idx); in dns_recv()
[all...]

Completed in 3 milliseconds