Searched refs:ancount (Results 1 – 2 of 2) sorted by relevance
80 unsigned ancount :16; /* number of answer entries */ member
367 int ancount; member583 dest[6] = (h->ancount & 0xff00) >> 8; in __encode_header()584 dest[7] = (h->ancount & 0x00ff) >> 0; in __encode_header()609 h->ancount = (data[6] << 8) | data[7]; in __decode_header()819 for (j = 0; j < h->ancount; j++) { in __encode_packet()1456 h.qdcount, h.ancount, h.nscount, h.arcount); in __dns_lookup()1488 if (h.ancount <= 0) { in __dns_lookup()1508 for (j = 0; j < h.ancount; j++) { in __dns_lookup()1530 a->add_count = h.ancount - j - 1; in __dns_lookup()4296 hp->ancount = htons(1); in res_mkquery()
Completed in 14 milliseconds