Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/
Ddns.c143 #define SIZEOF_DNS_HDR 12 macro
581 p = pbuf_alloc(PBUF_TRANSPORT, SIZEOF_DNS_HDR + DNS_MAX_NAME_LENGTH + in dns_send()
587 memset(hdr, 0, SIZEOF_DNS_HDR); in dns_send()
591 query = (char*)hdr + SIZEOF_DNS_HDR; in dns_send()
760 if (p->tot_len < (SIZEOF_DNS_HDR + SIZEOF_DNS_QUERY + SIZEOF_DNS_ANSWER)) { in dns_recv()
792 …ompare_name((unsigned char *)(pEntry->name), (unsigned char *)dns_payload + SIZEOF_DNS_HDR) != 0) { in dns_recv()
800 …pHostname = (char *) dns_parse_name((unsigned char *)dns_payload + SIZEOF_DNS_HDR) + SIZEOF_DNS_QU… in dns_recv()