stc_type
for(i=0; i<sizeof(total->qtype)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->qclass)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->rcode)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->opcode)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->qtype)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->qclass)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->rcode)/sizeof(stc_type); i++)
for(i=0; i<sizeof(total->opcode)/sizeof(stc_type); i++)
stc_type reloadcount; /* counts reloads */
stc_type qtype[257]; /* Counters per qtype */
stc_type qclass[4]; /* Class IN or Class CH or other */
stc_type qudp, qudp6; /* Number of queries udp and udp6 */
stc_type ctcp, ctcp6; /* Number of tcp and tcp6 connections */
stc_type ctls, ctls6; /* Number of tls and tls6 connections */
stc_type rcode[17], opcode[6]; /* Rcodes & opcodes */
stc_type dropped, truncated, wrongzone, txerr, rxerr;
stc_type edns, ednserr, raxfr, nona, rixfr;
stc_type query_count;
stc_type total = 0;
stc_type count1, count2;