/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-igrp.c | 59 uint8_t igr_bw[3]; /* bandwidth in units of 1 kb/s */ 72 register u_int delay, bandwidth; local 86 bandwidth = EXTRACT_24BITS(igr->igr_bw); 87 metric = bandwidth + delay; 93 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
|
H A D | print-eigrp.c | 126 uint8_t bandwidth[4]; member in struct:eigrp_tlv_ip_int_t 146 uint8_t bandwidth[4]; member in struct:eigrp_tlv_ip_ext_t 165 uint8_t bandwidth[4]; member in struct:eigrp_tlv_at_int_t 184 uint8_t bandwidth[4]; member in struct:eigrp_tlv_at_ext_t 367 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 369 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth), 410 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 412 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->bandwidth), 452 ND_PRINT((ndo, "\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 454 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->bandwidth), [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_pipe.h | 115 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 D | ng_pipe.c | 34 * 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 D | ng_ppp.h | 60 /* 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 D | ng_ppp.c | 2183 * on each link's latency, bandwidth, and calculated additional latency. 2188 * same latency and bandwidth values. 2195 * Suppose link i has bandwidth b_i (in tens of bytes per milisecond) and 2212 * link's bandwidth. 2258 * same latency and bandwidth. 2309 xmitBytes = (alink->conf.bandwidth * 10 * diff.tv_sec) 2310 + (alink->conf.bandwidth * (diff.tv_usec / 1000)) / 100; 2316 (100 * alink->bytesInQueue) / alink->conf.bandwidth; 2332 priv->activeLinks[sortByLatency[i]]].conf.bandwidth) 2342 priv->activeLinks[sortByLatency[i]]].conf.bandwidth; [all...] |
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | hunt_nic.c | 51 uint32_t bandwidth; local 62 bandwidth = 0; 68 * This needs the full PCIe bandwidth (and could use 72 EFX_PCIE_LINK_SPEED_GEN3, &bandwidth)) != 0) 85 &bandwidth)) != 0) 90 *bandwidth_mbpsp = bandwidth; 119 uint32_t bandwidth; local 361 if ((rc = hunt_nic_get_required_pcie_bandwidth(enp, &bandwidth)) != 0) 363 encp->enc_required_pcie_bandwidth_mbps = bandwidth;
|
H A D | medford_nic.c | 104 uint32_t bandwidth; local 110 bandwidth = 0; 115 &bandwidth)) != 0) 119 *bandwidth_mbpsp = bandwidth; 146 uint32_t bandwidth; local 364 rc = medford_nic_get_required_pcie_bandwidth(enp, &bandwidth); 367 encp->enc_required_pcie_bandwidth_mbps = bandwidth;
|
H A D | ef10_nic.c | 153 uint32_t bandwidth; local 158 bandwidth = 10000; 161 bandwidth = 10000 * 2; 167 bandwidth = 10000 * 4; 170 bandwidth = 40000; 173 bandwidth = 40000 * 2; 177 bandwidth = 40000 + (10000 * 2); 184 *bandwidth_mbpsp = bandwidth;
|
H A D | efx_nic.c | 782 /* 2.5 Gb/s raw bandwidth with 8b/10b encoding */ 786 /* 5.0 Gb/s raw bandwidth with 8b/10b encoding */ 790 /* 8.0 Gb/s raw bandwidth with 128b/130b encoding */ 820 uint32_t bandwidth; local 836 /* Calculate the available bandwidth in megabits per second */ 838 pcie_link_gen, &bandwidth); 842 if (bandwidth < encp->enc_required_pcie_bandwidth_mbps) { 845 /* The link provides enough bandwidth but not optimal latency */
|
/freebsd-11-stable/sys/netinet/ |
H A D | ip_dummynet.h | 132 int bandwidth; /* bit/s or bits/tick. */ member in struct:dn_link 217 int bandwidth; // XXX use link bandwidth? member in struct:dn_profile 275 to delay and bandwidth;
|
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_altq.h | 97 uint32_t ifbandwidth; /* interface bandwidth */ 103 uint32_t bandwidth; /* queue bandwidth */ member in struct:pf_altq
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | tun.c | 113 info.baudrate = bundle->bandwidth;
|
H A D | mp.h | 103 int min; /* Lowest percent of bundle->bandwidth */ 104 int max; /* Highest percent of bundle->bandwidth out */ 116 unsigned bandwidth; /* Our link bandwidth (or zero) */ member in struct:mp_link
|
H A D | bundle.h | 87 u_long bandwidth; /* struct tuninfo speed */ member in struct:bundle
|
/freebsd-11-stable/sbin/pfctl/ |
H A D | pfctl_altq.c | 200 printf("bandwidth %u%% ", bw->bw_percent); 202 printf("bandwidth %s ", rate2str((double)a->ifbandwidth)); 230 printf("bandwidth %u%% ", bw->bw_percent); 232 printf("bandwidth %s ", rate2str((double)a->bandwidth)); 271 fprintf(stderr, "interface %s does not know its bandwidth, " 272 "please specify an absolute bandwidth\n", 374 pa->bandwidth = eval_bwspec(bw, 375 parent == NULL ? 0 : parent->bandwidth); 377 if (pa->bandwidth > p [all...] |
/freebsd-11-stable/sbin/ipfw/ |
H A D | dummynet.c | 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) argument 799 if (*bandwidth != -1) 800 warnx("duplicate token, override bandwidth value!"); 811 *bandwidth = 0; 812 } else { /* read bandwidth valu [all...] |
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | hw_features_common.c | 382 data->bandwidth = sec_channel_offset ? 40 : 20; 404 data->bandwidth = 80; 441 data->bandwidth = 160;
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | evergreen.c | 824 u32 yclk; /* bandwidth per dram data pin in kHz */ 842 fixed20_12 yclk, dram_channels, bandwidth; local 852 bandwidth.full = dfixed_mul(dram_channels, yclk); 853 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); 855 return dfixed_trunc(bandwidth); 862 fixed20_12 yclk, dram_channels, bandwidth; local 872 bandwidth.full = dfixed_mul(dram_channels, yclk); 873 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocatio 882 fixed20_12 sclk, bandwidth; local 902 fixed20_12 disp_clk, bandwidth; local 937 fixed20_12 bandwidth; local [all...] |
H A D | si.c | 534 u32 yclk; /* bandwidth per dram data pin in kHz */ 552 fixed20_12 yclk, dram_channels, bandwidth; local 562 bandwidth.full = dfixed_mul(dram_channels, yclk); 563 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); 565 return dfixed_trunc(bandwidth); 572 fixed20_12 yclk, dram_channels, bandwidth; local 582 bandwidth.full = dfixed_mul(dram_channels, yclk); 583 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocatio 592 fixed20_12 sclk, bandwidth; local 617 fixed20_12 disp_clk, sclk, bandwidth; local 664 fixed20_12 bandwidth; local [all...] |
/freebsd-11-stable/tools/tools/vxge/ |
H A D | vxge_cmn.h | 245 int bandwidth; member in struct:_vxge_bw_info_t
|
H A D | vxge_info.c | 231 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 D | vxge_log.c | 566 func_id, (buffer->bandwidth ? 567 buffer->bandwidth : VXGE_MAX_BANDWIDTH),
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_dn_glue.c | 167 int bandwidth; /* really, bytes/tick. */ member in struct:dn_pipe7 233 int bandwidth; /* really, bytes/tick. */ member in struct:dn_pipe8 452 p->bandwidth = p7->bandwidth; 487 // pf->bandwidth = p->bandwidth; //XXX bandwidth redundant? 630 pipe7->bandwidth = l->bandwidth;
|
/freebsd-11-stable/sys/dev/vxge/ |
H A D | vxge.c | 528 bandwidth, VXGE_DEFAULT_USER_HARDCODED); 530 if (bw_info.bandwidth == VXGE_DEFAULT_USER_HARDCODED) 531 bw_info.bandwidth = VXGE_HAL_VPATH_BW_LIMIT_DEFAULT; 2372 u32 priority, bandwidth; local 2389 func_id, &bandwidth, &priority); 2398 vpath_list[0], &bandwidth, &priority); 2405 bw_info->bandwidth = bandwidth; 2408 vdev->config.bw_info[func_id].bandwidth = bandwidth; 4027 u32 bandwidth, priority, vpath_count; local [all...] |