Searched refs:SIZEOF_DNS_HDR (Results 1 – 3 of 3) sorted by relevance
/third_party/lwip/src/core/ |
D | dns.c | 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… in dns_send() 819 p = pbuf_alloc(PBUF_TRANSPORT, (u16_t)(SIZEOF_DNS_HDR + strlen(entry->name) + 2 + in dns_send() 827 memset(&hdr, 0, SIZEOF_DNS_HDR); in dns_send() 846 pbuf_take_at(p, &hdr, SIZEOF_DNS_HDR, sizeof(udp_data_hdr)); in dns_send() 848 pbuf_take(p, &hdr, SIZEOF_DNS_HDR); in dns_send() 851 pbuf_take(p, &hdr, SIZEOF_DNS_HDR); in dns_send() 859 query_idx = sizeof(udp_data) + SIZEOF_DNS_HDR; in dns_send() 861 query_idx = SIZEOF_DNS_HDR; in dns_send() 864 query_idx = SIZEOF_DNS_HDR; in dns_send() [all …]
|
/third_party/lwip/src/include/lwip/prot/ |
D | dns.h | 116 #define SIZEOF_DNS_HDR 12 macro
|
/third_party/lwip/src/apps/mdns/ |
D | mdns.c | 377 if (jumpaddr >= SIZEOF_DNS_HDR && jumpaddr < p->tot_len) { in mdns_readname_loop() 912 outpkt->write_offset = SIZEOF_DNS_HDR; in mdns_add_question() 984 reply->write_offset = SIZEOF_DNS_HDR; in mdns_add_answer() 1870 if (pbuf_copy_partial(p, &hdr, SIZEOF_DNS_HDR, offset) < SIZEOF_DNS_HDR) { in mdns_recv() 1874 offset += SIZEOF_DNS_HDR; in mdns_recv()
|