Lines Matching defs:hdr
738 struct dns_hdr hdr;
770 memset(&hdr, 0, SIZEOF_DNS_HDR);
771 hdr.id = lwip_htons(entry->txid);
772 hdr.flags1 = DNS_FLAG1_RD;
773 hdr.numquestions = PP_HTONS(1);
774 pbuf_take(p, &hdr, SIZEOF_DNS_HDR);
1138 struct dns_hdr hdr;
1155 if (pbuf_copy_partial(p, &hdr, SIZEOF_DNS_HDR, 0) == SIZEOF_DNS_HDR) {
1157 txid = lwip_htons(hdr.id);
1165 nquestions = lwip_htons(hdr.numquestions);
1166 nanswers = lwip_htons(hdr.numanswers);
1169 if ((hdr.flags1 & DNS_FLAG1_RESPONSE) == 0) {
1211 if (hdr.flags2 & DNS_FLAG2_ERR_MASK) {