Searched refs:SIZEOF_DNS_HDR (Results 1 – 1 of 1) sorted by relevance
143 #define SIZEOF_DNS_HDR 12 macro576 p = pbuf_alloc(PBUF_TRANSPORT, SIZEOF_DNS_HDR + DNS_MAX_NAME_LENGTH + in dns_send()582 memset(hdr, 0, SIZEOF_DNS_HDR); in dns_send()586 query = (char*)hdr + SIZEOF_DNS_HDR; in dns_send()755 if (p->tot_len < (SIZEOF_DNS_HDR + SIZEOF_DNS_QUERY + SIZEOF_DNS_ANSWER)) { in dns_recv()787 …ompare_name((unsigned char *)(pEntry->name), (unsigned char *)dns_payload + SIZEOF_DNS_HDR) != 0) { in dns_recv()795 …pHostname = (char *) dns_parse_name((unsigned char *)dns_payload + SIZEOF_DNS_HDR) + SIZEOF_DNS_QU… in dns_recv()
Completed in 4 milliseconds