Searched refs:bandwidth (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-igrp.c47 register u_int delay, bandwidth; local
61 bandwidth = EXTRACT_24BITS(igr->igr_bw);
62 metric = bandwidth + delay;
68 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
H A Dprint-eigrp.c130 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_ip_int_t
150 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_ip_ext_t
169 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_at_int_t
188 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_at_ext_t
344 printf("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u",
346 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth),
381 printf("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u",
383 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->bandwidth),
413 printf("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u",
415 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->bandwidth),
[all...]
/freebsd-9.3-release/sys/netgraph/
H A Dng_pipe.h115 u_int64_t bandwidth; member in struct:ng_pipe_hookcfg
129 { "bandwidth", &ng_parse_uint64_type }, \
144 u_int64_t bandwidth; member in struct:ng_pipe_cfg
154 { "bandwidth", &ng_parse_uint64_type }, \
H A Dng_pipe.c34 * This node permits simple traffic shaping by emulating bandwidth
110 if (hinfo->cfg.wfq && hinfo->cfg.bandwidth) { \
113 8000000 / hinfo->cfg.bandwidth; \
361 if (cfg->upstream.bandwidth ==
362 cfg->downstream.bandwidth) {
363 cfg->bandwidth = cfg->upstream.bandwidth;
364 cfg->upstream.bandwidth = 0;
365 cfg->downstream.bandwidth = 0;
367 cfg->bandwidth
[all...]
H A Dng_ppp.h60 /* Max allowable link latency (miliseconds) and bandwidth (bytes/second/10) */
129 u_int32_t bandwidth; /* link bandwidth (in bytes/sec/10) */ member in struct:ng_ppp_link_conf
139 { "bandwidth", &ng_parse_uint32_type }, \
H A Dng_ppp.c2169 * on each link's latency, bandwidth, and calculated additional latency.
2174 * same latency and bandwidth values.
2181 * Suppose link i has bandwidth b_i (in tens of bytes per milisecond) and
2198 * link's bandwidth.
2244 * same latency and bandwidth.
2295 xmitBytes = (alink->conf.bandwidth * 10 * diff.tv_sec)
2296 + (alink->conf.bandwidth * (diff.tv_usec / 1000)) / 100;
2302 (100 * alink->bytesInQueue) / alink->conf.bandwidth;
2318 priv->activeLinks[sortByLatency[i]]].conf.bandwidth)
2328 priv->activeLinks[sortByLatency[i]]].conf.bandwidth;
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dip_dummynet.h122 int bandwidth; /* bit/s or bits/tick. */ member in struct:dn_link
207 int bandwidth; // XXX use link bandwidth? member in struct:dn_profile
253 to delay and bandwidth;
/freebsd-9.3-release/usr.sbin/ppp/
H A Dtun.c111 info.baudrate = bundle->bandwidth;
H A Dmp.h101 int min; /* Lowest percent of bundle->bandwidth */
102 int max; /* Highest percent of bundle->bandwidth out */
114 unsigned bandwidth; /* Our link bandwidth (or zero) */ member in struct:mp_link
H A Dbundle.h85 u_long bandwidth; /* struct tuninfo speed */ member in struct:bundle
H A Dbundle.c273 * If it's the first NCP, calculate our bandwidth
816 bundle.bandwidth = 0;
1036 prompt_Printf(arg->prompt, " bandwidth %d, %llu bps (%llu bytes/sec)",
1037 dl->mp.bandwidth ? dl->mp.bandwidth :
1069 arg->bundle->iface->name, arg->bundle->bandwidth);
1886 bundle->bandwidth = 0;
1895 if ((sp = dl->mp.bandwidth) == 0 &&
1897 log_Printf(LogDEBUG, "%s: %s: Cannot determine bandwidth\n",
1900 bundle->bandwidth
[all...]
/freebsd-9.3-release/contrib/pf/pfctl/
H A Dpfctl_altq.c180 printf("bandwidth %u%% ", bw->bw_percent);
182 printf("bandwidth %s ", rate2str((double)a->ifbandwidth));
209 printf("bandwidth %u%% ", bw->bw_percent);
211 printf("bandwidth %s ", rate2str((double)a->bandwidth));
247 fprintf(stderr, "interface %s does not know its bandwidth, "
248 "please specify an absolute bandwidth\n",
346 pa->bandwidth = eval_bwspec(bw,
347 parent == NULL ? 0 : parent->bandwidth);
349 if (pa->bandwidth > p
[all...]
/freebsd-9.3-release/sbin/ipfw/
H A Ddummynet.c62 { "bandwidth", TOK_BW },
351 double b = p->bandwidth;
519 * Take as input a string describing a bandwidth value
520 * and return the numeric bandwidth value.
521 * set clocking interface or bandwidth value
524 read_bandwidth(char *arg, int *bandwidth, char *if_name, int namelen) argument
526 if (*bandwidth != -1)
527 warnx("duplicate token, override bandwidth value!");
539 *bandwidth = 0;
540 } else { /* read bandwidth valu
[all...]
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Devergreen.c766 u32 yclk; /* bandwidth per dram data pin in kHz */
784 fixed20_12 yclk, dram_channels, bandwidth; local
794 bandwidth.full = dfixed_mul(dram_channels, yclk);
795 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency);
797 return dfixed_trunc(bandwidth);
804 fixed20_12 yclk, dram_channels, bandwidth; local
814 bandwidth.full = dfixed_mul(dram_channels, yclk);
815 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocatio
824 fixed20_12 sclk, bandwidth; local
844 fixed20_12 disp_clk, bandwidth; local
879 fixed20_12 bandwidth; local
[all...]
H A Dsi.c507 u32 yclk; /* bandwidth per dram data pin in kHz */
525 fixed20_12 yclk, dram_channels, bandwidth; local
535 bandwidth.full = dfixed_mul(dram_channels, yclk);
536 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency);
538 return dfixed_trunc(bandwidth);
545 fixed20_12 yclk, dram_channels, bandwidth; local
555 bandwidth.full = dfixed_mul(dram_channels, yclk);
556 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocatio
565 fixed20_12 sclk, bandwidth; local
590 fixed20_12 disp_clk, sclk, bandwidth; local
637 fixed20_12 bandwidth; local
[all...]
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_dn_io.c473 bits = div64((uint64_t)pf->samples[index] * s->link.bandwidth, 1000);
500 bw = s->link.bandwidth;
806 si->credit = dn_cfg.io_fast ? p->bandwidth : 0;
808 uint64_t burst = (dn_cfg.curr_time - si->idle_time) * p->bandwidth;
H A Dip_dn_glue.c164 int bandwidth; /* really, bytes/tick. */ member in struct:dn_pipe7
230 int bandwidth; /* really, bytes/tick. */ member in struct:dn_pipe8
449 p->bandwidth = p7->bandwidth;
484 // pf->bandwidth = p->bandwidth; //XXX bandwidth redundant?
627 pipe7->bandwidth = l->bandwidth;
H A Dip_dummynet.c535 si->credit = p->burst + (dn_cfg.io_fast ? p->bandwidth : 0);
1051 i = fs->sched->link.bandwidth;
1250 if (s->link.bandwidth != p->bandwidth) {
1251 /* XXX bandwidth changes, need to update red params */
1252 s->link.bandwidth = p->bandwidth;
/freebsd-9.3-release/tools/tools/vxge/
H A Dvxge_cmn.h245 int bandwidth; member in struct:_vxge_bw_info_t
H A Dvxge_info.c231 printf("\tbw_pri_get : Displays bandwidth and priority information\n");
232 printf("\tbw_pri_set : Set bandwidth and priority of a function\n");
261 printf("[vf-id (0-7)] [bandwidth (100-10000)] [priority (0-3)]\n\n");
782 vxge_set_bw_priority(int func_id, int bandwidth, int priority, argument
792 buffer.bandwidth = bandwidth;
798 printf("Setting bandwidth failed\n");
H A Dvxge_log.c566 func_id, (buffer->bandwidth ?
567 buffer->bandwidth : VXGE_MAX_BANDWIDTH),
/freebsd-9.3-release/sys/dev/vxge/
H A Dvxge.c527 bandwidth, VXGE_DEFAULT_USER_HARDCODED);
529 if (bw_info.bandwidth == VXGE_DEFAULT_USER_HARDCODED)
530 bw_info.bandwidth = VXGE_HAL_VPATH_BW_LIMIT_DEFAULT;
2377 u32 priority, bandwidth; local
2394 func_id, &bandwidth, &priority);
2403 vpath_list[0], &bandwidth, &priority);
2410 bw_info->bandwidth = bandwidth;
2413 vdev->config.bw_info[func_id].bandwidth = bandwidth;
4027 u32 bandwidth, priority, vpath_count; local
[all...]
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_hfsc.h121 u_int bandwidth; /* link bandwidth in bits/sec */ member in struct:hfsc_attach
201 * y-axis doesn't wrap around for 4358 years with 1Gbps bandwidth.
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_hfsc.h116 u_int bandwidth; /* link bandwidth in bits/sec */ member in struct:hfsc_attach
196 * y-axis doesn't wrap around for 4358 years with 1Gbps bandwidth.
H A Daltq_priq.c655 priq_attach(ifq, bandwidth)
657 u_int bandwidth;
666 pif->pif_bandwidth = bandwidth;

Completed in 195 milliseconds

12