Searched refs:buf2 (Results 1 – 1 of 1) sorted by relevance
379 int res_queriesmatch(const uint8_t* buf1, const uint8_t* eom1, const uint8_t* buf2, in res_queriesmatch() argument384 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) return (-1); in res_queriesmatch()391 (((const HEADER*) (const void*) buf2)->opcode == ns_o_update)) in res_queriesmatch()394 if (qdcount != ntohs(((const HEADER*) (const void*) buf2)->qdcount)) return (0); in res_queriesmatch()405 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) return (0); in res_queriesmatch()