Lines Matching defs:q_stats
861 struct red_stats *q_stats;
864 q_stats = (struct red_stats *)addr;
865 if ((rqp = altq_lookup(q_stats->iface.red_ifname,
871 q_stats->q_len = qlen(rqp->rq_q);
872 q_stats->q_limit = qlimit(rqp->rq_q);
875 q_stats->q_avg = rp->red_avg >> rp->red_wshift;
876 q_stats->xmit_cnt = rp->red_stats.xmit_cnt;
877 q_stats->drop_cnt = rp->red_stats.drop_cnt;
878 q_stats->drop_forced = rp->red_stats.drop_forced;
879 q_stats->drop_unforced = rp->red_stats.drop_unforced;
880 q_stats->marked_packets = rp->red_stats.marked_packets;
882 q_stats->weight = rp->red_weight;
883 q_stats->inv_pmax = rp->red_inv_pmax;
884 q_stats->th_min = rp->red_thmin;
885 q_stats->th_max = rp->red_thmax;
890 q_stats->fv_flows = fv->fv_flows;
891 q_stats->fv_pass = fv->fv_stats.pass;
892 q_stats->fv_predrop = fv->fv_stats.predrop;
893 q_stats->fv_alloc = fv->fv_stats.alloc;
894 q_stats->fv_escape = fv->fv_stats.escape;
897 q_stats->fv_flows = 0;
898 q_stats->fv_pass = 0;
899 q_stats->fv_predrop = 0;
900 q_stats->fv_alloc = 0;
901 q_stats->fv_escape = 0;