Lines Matching refs:total

447 void server_stats_add(struct ub_stats_info* total, struct ub_stats_info* a)  in server_stats_add()  argument
449 total->svr.num_queries += a->svr.num_queries; in server_stats_add()
450 total->svr.num_queries_ip_ratelimited += a->svr.num_queries_ip_ratelimited; in server_stats_add()
451 total->svr.num_queries_cookie_valid += a->svr.num_queries_cookie_valid; in server_stats_add()
452 total->svr.num_queries_cookie_client += a->svr.num_queries_cookie_client; in server_stats_add()
453 total->svr.num_queries_cookie_invalid += a->svr.num_queries_cookie_invalid; in server_stats_add()
454 total->svr.num_queries_missed_cache += a->svr.num_queries_missed_cache; in server_stats_add()
455 total->svr.num_queries_prefetch += a->svr.num_queries_prefetch; in server_stats_add()
456 total->svr.num_queries_timed_out += a->svr.num_queries_timed_out; in server_stats_add()
457 if (total->svr.max_query_time_us < a->svr.max_query_time_us) in server_stats_add()
458 total->svr.max_query_time_us = a->svr.max_query_time_us; in server_stats_add()
459 total->svr.sum_query_list_size += a->svr.sum_query_list_size; in server_stats_add()
460 total->svr.ans_expired += a->svr.ans_expired; in server_stats_add()
462 total->svr.num_query_dnscrypt_crypted += a->svr.num_query_dnscrypt_crypted; in server_stats_add()
463 total->svr.num_query_dnscrypt_cert += a->svr.num_query_dnscrypt_cert; in server_stats_add()
464 total->svr.num_query_dnscrypt_cleartext += \ in server_stats_add()
466 total->svr.num_query_dnscrypt_crypted_malformed += \ in server_stats_add()
470 if(a->svr.max_query_list_size > total->svr.max_query_list_size) in server_stats_add()
471 total->svr.max_query_list_size = a->svr.max_query_list_size; in server_stats_add()
475 total->svr.qtype_big += a->svr.qtype_big; in server_stats_add()
476 total->svr.qclass_big += a->svr.qclass_big; in server_stats_add()
477 total->svr.qtcp += a->svr.qtcp; in server_stats_add()
478 total->svr.qtcp_outgoing += a->svr.qtcp_outgoing; in server_stats_add()
479 total->svr.qudp_outgoing += a->svr.qudp_outgoing; in server_stats_add()
480 total->svr.qtls += a->svr.qtls; in server_stats_add()
481 total->svr.qtls_resume += a->svr.qtls_resume; in server_stats_add()
482 total->svr.qhttps += a->svr.qhttps; in server_stats_add()
483 total->svr.qquic += a->svr.qquic; in server_stats_add()
484 total->svr.qipv6 += a->svr.qipv6; in server_stats_add()
485 total->svr.qbit_QR += a->svr.qbit_QR; in server_stats_add()
486 total->svr.qbit_AA += a->svr.qbit_AA; in server_stats_add()
487 total->svr.qbit_TC += a->svr.qbit_TC; in server_stats_add()
488 total->svr.qbit_RD += a->svr.qbit_RD; in server_stats_add()
489 total->svr.qbit_RA += a->svr.qbit_RA; in server_stats_add()
490 total->svr.qbit_Z += a->svr.qbit_Z; in server_stats_add()
491 total->svr.qbit_AD += a->svr.qbit_AD; in server_stats_add()
492 total->svr.qbit_CD += a->svr.qbit_CD; in server_stats_add()
493 total->svr.qEDNS += a->svr.qEDNS; in server_stats_add()
494 total->svr.qEDNS_DO += a->svr.qEDNS_DO; in server_stats_add()
495 total->svr.ans_rcode_nodata += a->svr.ans_rcode_nodata; in server_stats_add()
496 total->svr.ans_secure += a->svr.ans_secure; in server_stats_add()
497 total->svr.ans_bogus += a->svr.ans_bogus; in server_stats_add()
498 total->svr.unwanted_replies += a->svr.unwanted_replies; in server_stats_add()
499 total->svr.unwanted_queries += a->svr.unwanted_queries; in server_stats_add()
500 total->svr.tcp_accept_usage += a->svr.tcp_accept_usage; in server_stats_add()
502 total->svr.num_query_cachedb += a->svr.num_query_cachedb; in server_stats_add()
505 total->svr.qtype[i] += a->svr.qtype[i]; in server_stats_add()
507 total->svr.qclass[i] += a->svr.qclass[i]; in server_stats_add()
509 total->svr.qopcode[i] += a->svr.qopcode[i]; in server_stats_add()
511 total->svr.ans_rcode[i] += a->svr.ans_rcode[i]; in server_stats_add()
513 total->svr.hist[i] += a->svr.hist[i]; in server_stats_add()
515 total->svr.rpz_action[i] += a->svr.rpz_action[i]; in server_stats_add()
518 total->mesh_num_states += a->mesh_num_states; in server_stats_add()
519 total->mesh_num_reply_states += a->mesh_num_reply_states; in server_stats_add()
520 total->mesh_jostled += a->mesh_jostled; in server_stats_add()
521 total->mesh_dropped += a->mesh_dropped; in server_stats_add()
522 total->mesh_replies_sent += a->mesh_replies_sent; in server_stats_add()
523 …stats_timeval_add(&total->mesh_replies_sum_wait_sec, &total->mesh_replies_sum_wait_usec, a->mesh_r… in server_stats_add()
527 total->mesh_time_median += a->mesh_time_median; in server_stats_add()