Searched refs:SIZEOF_DNS_QUERY (Results 1 - 1 of 1) sorted by relevance
/third_party/lwip/src/core/ |
H A D | dns.c | 200 #define SIZEOF_DNS_QUERY 4 macro 333 LWIP_ASSERT("sanity check SIZEOF_DNS_QUERY", in dns_init() 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 p = pbuf_alloc(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() [all...] |
Completed in 2 milliseconds