Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Ddns.c200 #define SIZEOF_DNS_QUERY 4 macro
334 sizeof(struct dns_query) == SIZEOF_DNS_QUERY); in dns_init()
814 …(u16_t)(sizeof(udp_data) + SIZEOF_DNS_HDR + strlen(entry->name) + 2 + SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
816 …oc(PBUF_TRANSPORT, (u16_t)(SIZEOF_DNS_HDR + strlen(entry->name) + 2 + SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
820 SIZEOF_DNS_QUERY), PBUF_RAM); in dns_send()
891 pbuf_take_at(p, &qry, SIZEOF_DNS_QUERY, query_idx); in dns_send()
1278 if (p->tot_len < (SIZEOF_DNS_HDR + SIZEOF_DNS_QUERY)) { 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()