Lines Matching refs:q_stats
873 struct red_stats *q_stats;
876 q_stats = (struct red_stats *)addr;
877 if ((rqp = altq_lookup(q_stats->iface.red_ifname,
883 q_stats->q_len = qlen(rqp->rq_q);
884 q_stats->q_limit = qlimit(rqp->rq_q);
887 q_stats->q_avg = rp->red_avg >> rp->red_wshift;
888 q_stats->xmit_cnt = rp->red_stats.xmit_cnt;
889 q_stats->drop_cnt = rp->red_stats.drop_cnt;
890 q_stats->drop_forced = rp->red_stats.drop_forced;
891 q_stats->drop_unforced = rp->red_stats.drop_unforced;
892 q_stats->marked_packets = rp->red_stats.marked_packets;
894 q_stats->weight = rp->red_weight;
895 q_stats->inv_pmax = rp->red_inv_pmax;
896 q_stats->th_min = rp->red_thmin;
897 q_stats->th_max = rp->red_thmax;
902 q_stats->fv_flows = fv->fv_flows;
903 q_stats->fv_pass = fv->fv_stats.pass;
904 q_stats->fv_predrop = fv->fv_stats.predrop;
905 q_stats->fv_alloc = fv->fv_stats.alloc;
906 q_stats->fv_escape = fv->fv_stats.escape;
909 q_stats->fv_flows = 0;
910 q_stats->fv_pass = 0;
911 q_stats->fv_predrop = 0;
912 q_stats->fv_alloc = 0;
913 q_stats->fv_escape = 0;