Lines Matching refs:m2
49 #define is_sc_null(sc) (((sc) == NULL) || ((sc)->m1 == 0 && (sc)->m2 == 0))
699 warnx("m2 is zero for %s", pa->qname);
735 sc.m2 = altq->pq_u.hfsc_opts.rtsc_m2;
746 sc.m2 = altq->pq_u.hfsc_opts.lssc_m2;
756 sc.m2 = opts->rtsc_m2;
761 sc.m2 = pa->ifbandwidth / 100 * 80;
764 "bandwidth (%s)", rate2str((double)sc.m2));
774 sc.m2 = opts->lssc_m2;
779 sc.m2 = parent->pq_u.hfsc_opts.lssc_m2;
907 gsc_add_seg(gsc, (double)sc->d, 0.0, INFINITY, (double)sc->m2);
946 if (last->m > sc->m2)
1064 + (x - (double)sc->d) * (double)sc->m2;
1188 eval_bwspec(&opts->data.hfsc_opts.linkshare.m2,
1198 eval_bwspec(&opts->data.hfsc_opts.realtime.m2,
1208 eval_bwspec(&opts->data.hfsc_opts.upperlimit.m2,
1237 print_hfsc_sc(const char *scname, u_int m1, u_int d, u_int m2,
1251 if (sc != NULL && sc->m2.bw_percent > 0)
1252 printf(" %u%%", sc->m2.bw_percent);
1254 printf(" %s", rate2str((double)m2));