Lines Matching refs:opcode
158 int opcode = ns_msg_getflag(*handle, ns_f_opcode); in do_section() local
159 StringAppendF(&s, ";; %s SECTION:\n", p_section(section, opcode)); in do_section()
244 uint32_t opcode, rcode, id; in res_pquery() local
250 opcode = ns_msg_getflag(handle, ns_f_opcode); in res_pquery()
262 StringAppendF(&s, ";; ->>HEADER<<- opcode: %s, status: %s, id: %d\n", _res_opcodes[opcode], in res_pquery()
273 StringAppendF(&s, "; %s: %d", p_section(ns_s_qd, (int)opcode), qdcount); in res_pquery()
274 StringAppendF(&s, ", %s: %d", p_section(ns_s_an, (int)opcode), ancount); in res_pquery()
275 StringAppendF(&s, ", %s: %d", p_section(ns_s_ns, (int)opcode), nscount); in res_pquery()
276 StringAppendF(&s, ", %s: %d", p_section(ns_s_ar, (int)opcode), arcount); in res_pquery()
446 const char* p_section(int section, int opcode) { in p_section() argument
449 switch (opcode) { in p_section()