json_do_uint
void json_do_uint(const char *, unsigned long long);
json_do_uint("num_ASnum", set->as_cnt);
json_do_uint("num_IPv4", set->v4_cnt);
json_do_uint("num_IPv6", set->v6_cnt);
json_do_uint("remote_port", rtr->remote_port);
json_do_uint("version", rtr->version);
json_do_uint("minimal_version", rtr->min_version);
json_do_uint("session_id", rtr->session_id);
json_do_uint("serial", rtr->serial);
json_do_uint("refresh", rtr->refresh);
json_do_uint("retry", rtr->retry);
json_do_uint("expire", rtr->expire);
json_do_uint("sent", p->stats.prefix_out_cnt);
json_do_uint("received", p->stats.prefix_cnt);
json_do_uint("open", p->stats.msg_sent_open);
json_do_uint("notifications", p->stats.msg_sent_notification);
json_do_uint("updates", p->stats.msg_sent_update);
json_do_uint("keepalives", p->stats.msg_sent_keepalive);
json_do_uint("route_refresh", p->stats.msg_sent_rrefresh);
json_do_uint("total",
json_do_uint("open", p->stats.msg_rcvd_open);
json_do_uint("notifications", p->stats.msg_rcvd_notification);
json_do_uint("updates", p->stats.msg_rcvd_update);
json_do_uint("keepalives", p->stats.msg_rcvd_keepalive);
json_do_uint("route_refresh", p->stats.msg_rcvd_rrefresh);
json_do_uint("total",
json_do_uint("updates", p->stats.prefix_sent_update);
json_do_uint("withdraws", p->stats.prefix_sent_withdraw);
json_do_uint("eor", p->stats.prefix_sent_eor);
json_do_uint("updates", p->stats.prefix_rcvd_update);
json_do_uint("withdraws", p->stats.prefix_rcvd_withdraw);
json_do_uint("eor", p->stats.prefix_rcvd_eor);
json_do_uint("updates", p->stats.pending_update);
json_do_uint("withdraws", p->stats.pending_withdraw);
json_do_uint("request", p->stats.refresh_sent_req);
json_do_uint("borr", p->stats.refresh_sent_borr);
json_do_uint("eorr", p->stats.refresh_sent_eorr);
json_do_uint("request", p->stats.refresh_rcvd_req);
json_do_uint("borr", p->stats.refresh_rcvd_borr);
json_do_uint("eorr", p->stats.refresh_rcvd_eorr);
json_do_uint("ibuf_queue", p->stats.ibufq_msg_count);
json_do_uint("rib_entry", p->stats.rib_entry_count);
json_do_uint("ibuf_queue", p->stats.ibufq_payload_size);
json_do_uint("multihop_distance", p->conf.distance);
json_do_uint("max_prefix", p->conf.max_prefix);
json_do_uint("max_prefix_restart",
json_do_uint("max_out_prefix", p->conf.max_out_prefix);
json_do_uint("max_out_prefix_restart",
json_do_uint("holdtime", p->conf.holdtime);
json_do_uint("min_holdtime", p->conf.min_holdtime);
json_do_uint("holdtime", p->holdtime);
json_do_uint("keepalive", p->holdtime / 3);
json_do_uint("port", p->local_port);
json_do_uint("port", p->remote_port);
json_do_uint("priority", kf->priority);
json_do_uint("mplslabel",
json_do_uint("rtableid", kt->rtableid);
json_do_uint("rdomain", iface->rdomain);
json_do_uint("baudrate", iface->baudrate);
json_do_uint("priority", nh->kr.priority);
json_do_uint("length", alen);
json_do_uint("metric", val);
json_do_uint("AS", as);
json_do_uint("path_id", pathid);
json_do_uint("as", as);
json_do_uint("path_id", r->path_id);
json_do_uint("timeout", capa->grestart.timeout);
json_do_uint("metric", r->med);
json_do_uint("localpref", r->local_pref);
json_do_uint("weight", r->weight);
json_do_uint("count", count);
json_do_uint("size", size);
json_do_uint("references", refs);
json_do_uint("count", stats->rde_event_loop_count);
json_do_uint("loop_usec", stats->rde_event_loop_usec);
json_do_uint("io_usec", stats->rde_event_io_usec);
json_do_uint("peer_usec", stats->rde_event_peer_usec);
json_do_uint("adjout_usec", stats->rde_event_adjout_usec);
json_do_uint("ribdump_usec", stats->rde_event_ribdump_usec);
json_do_uint("nexthop_usec", stats->rde_event_nexthop_usec);
json_do_uint("update_usec", stats->rde_event_update_usec);
void json_do_uint(const char *, unsigned long long);
json_do_uint("input-packets", stat->ipackets);
json_do_uint("output-packets", stat->opackets);
json_do_uint("input-bytes", stat->ibytes);
json_do_uint("output-bytes", stat->obytes);
json_do_uint("sequence-number", dump->records[idx].rec.seq);
json_do_uint("start", start->tv_sec);
json_do_uint("elapsed", dif->tv_sec);
json_do_uint("timeout", timeout->tv_sec);
void json_do_uint(const char *, unsigned long long);
json_do_uint("asid", ases[i].id);
json_do_uint("min", ases[i].range.min);
json_do_uint("max", ases[i].range.max);
json_do_uint("asid", p->asid);
json_do_uint("maxlen", p->ips[i].maxlength);
json_do_uint("customer_asid", p->custasid);
json_do_uint("asid", p->providers[i]);
json_do_uint("size", ccr_mft->size);
json_do_uint("customer_asid", vap->custasid);
json_do_uint("provider", vap->providers[i]);