Lines Matching refs:bandwidth
81 { "bandwidth", TOK_BW },
620 double b = p->bandwidth;
792 * Take as input a string describing a bandwidth value
793 * and return the numeric bandwidth value.
794 * set clocking interface or bandwidth value
797 read_bandwidth(char *arg, int *bandwidth, char *if_name, int namelen)
799 if (*bandwidth != -1)
800 warnx("duplicate token, override bandwidth value!");
811 *bandwidth = 0;
812 } else { /* read bandwidth value */
833 errx(EX_DATAERR, "bandwidth too large");
835 *bandwidth = bw;
927 read_bandwidth(arg, &link->bandwidth, buf, sizeof(buf));
1396 p->bandwidth = -1;
1638 NEED1("bw needs bandwidth or interface\n");
1639 read_bandwidth(av[0], &p->bandwidth, NULL, 0);
1740 if (p->bandwidth == -1)
1741 p->bandwidth = 0;
1814 * do not have bandwidth information, because that is stored
1820 if (p.bandwidth==0) /* this is a WF2Q+ queue */
1823 s = (double)ck.hz * avg_pkt_size * 8 / p.bandwidth;