| /src/usr.sbin/altq/libaltq/ |
| qop_dummy.c | 77 u_int bandwidth = 0; local 84 if (EQUAL(*argv, "bandwidth")) { 87 bandwidth = atobps(*argv); 99 if (bandwidth != 0) 100 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0)
|
| qop_fifoq.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local 94 if (EQUAL(*argv, "bandwidth")) { 97 bandwidth = atobps(*argv); 115 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 118 if (qcmd_fifoq_add_if(ifname, bandwidth, qlimit) != 0) 127 qcmd_fifoq_add_if(const char *ifname, u_int bandwidth, int qlimit) 131 error = qop_fifoq_add_if(NULL, ifname, bandwidth, qlimit); 143 u_int bandwidth, int qlimit) 153 error = qop_add_if(&ifinfo, ifname, bandwidth,
|
| qop_blue.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local 99 if (EQUAL(*argv, "bandwidth")) { 102 bandwidth = atobps(*argv); 134 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 137 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); 139 if (qcmd_blue_add_if(ifname, bandwidth, max_pmark, hold_time, 149 qcmd_blue_add_if(const char *ifname, u_int bandwidth, int max_pmark, 154 error = qop_blue_add_if(NULL, ifname, bandwidth, max_pmark, hold_time, 166 qop_blue_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, 182 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
| qop_cbq.h | 53 double psPerByte; /* bandwidth in ps per sec */ 63 uint64_t bandwidth; /* bandwidth in bps */ member in struct:cbq_classinfo 64 uint64_t allocated; /* bandwidth used by children */ 79 int qcmd_cbq_add_if(const char *ifname, uint64_t bandwidth, 83 u_int pri, uint64_t bandwidth, 88 u_int pri, uint64_t bandwidth, 93 uint64_t bandwidth, int is_wrr, int efficient, bool no_control); 96 struct classinfo *borrow, u_int pri, uint64_t bandwidth, 100 int qop_cbq_modify_class(struct classinfo *clinfo, u_int pri, uint64_t bandwidth, [all...] |
| qop_wfq.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local 96 if (EQUAL(*argv, "bandwidth")) { 99 bandwidth = atobps(*argv); 138 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 146 if (qcmd_wfq_add_if(ifname, bandwidth, 156 qcmd_wfq_add_if(const char *ifname, u_int bandwidth, int hash_policy, 161 error = qop_wfq_add_if(NULL, ifname, bandwidth, 173 qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, 186 error = qop_add_if(&ifinfo, ifname, bandwidth,
|
| qop_priq.c | 94 u_int bandwidth = 100000000; /* 100Mbps */ local 102 if (EQUAL(*argv, "bandwidth")) { 105 bandwidth = atobps(*argv); 119 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 122 if (qcmd_priq_add_if(ifname, bandwidth, flags) != 0) 180 qcmd_priq_add_if(const char *ifname, u_int bandwidth, int flags) 184 error = qop_priq_add_if(NULL, ifname, bandwidth, flags); 232 u_int bandwidth, int flags) 241 error = qop_add_if(&ifinfo, ifname, bandwidth, 364 iface.arg = ifinfo->bandwidth; [all...] |
| qop_red.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ local 101 if (EQUAL(*argv, "bandwidth")) { 104 bandwidth = atobps(*argv); 146 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 149 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); 165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax, 175 qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, 181 error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax, 194 u_int bandwidth, int weight, int inv_pmax, int th_min, 211 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
| qop_rio.c | 87 u_int bandwidth = 100000000; /* 100Mbps */ local 108 if (EQUAL(*argv, "bandwidth")) { 111 bandwidth = atobps(*argv); 175 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 178 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); 194 if (qcmd_rio_add_if(ifname, bandwidth, weight, 207 qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight, 226 error = qop_rio_add_if(NULL, ifname, bandwidth, weight, red_params, 239 u_int bandwidth, int weight, struct redparams *red_params, 255 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
| qop_jobs.c | 150 u_int bandwidth = 100000000; /* 100 Mbps */ local 159 if (EQUAL(*argv, "bandwidth")) { 162 bandwidth = atobps(*argv); 183 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 186 if (qcmd_jobs_add_if(ifname, bandwidth, qlimit, separate) != 0) 287 qcmd_jobs_add_if(const char *ifname, u_int bandwidth, int qlimit, int separate) 291 error = qop_jobs_add_if(NULL, ifname, bandwidth, qlimit, separate); 367 u_int bandwidth, int qlimit, int separate) 378 error = qop_add_if(&ifinfo, ifname, bandwidth, 531 attach.bandwidth = ifinfo->bandwidth [all...] |
| altq_qop.h | 76 uint64_t bandwidth; /* bandwidth in bps */ member in struct:ifinfo 151 int qop_add_if(struct ifinfo **rp, const char *ifname, uint64_t bandwidth, 211 #define QOPERR_ADMISSION_NOBW 15 /* insufficient bandwidth */
|
| qop.c | 329 qop_add_if(struct ifinfo **rp, const char *ifname, uint64_t bandwidth, 343 ifinfo->bandwidth = bandwidth; 794 double bandwidth; local 797 bandwidth = strtod(s, &cp); 800 bandwidth *= 1000; 802 bandwidth *= 1000000; 804 bandwidth *= 1000000000; 806 if (bandwidth < 0) 807 bandwidth = 0 [all...] |
| qop_cbq.c | 115 uint64_t bandwidth = 100000000; /* 100Mbps */ local 126 if (EQUAL(*argv, "bandwidth")) { 129 bandwidth = atobps(*argv); 154 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 158 if (qcmd_cbq_add_if(ifname, bandwidth, 172 uint64_t bandwidth = 0; local 241 bandwidth = atobps(*argv); 291 if (bandwidth == 0 && pbandwidth != 0) { 295 bandwidth = ifinfo->bandwidth / 100 * pbandwidth [all...] |
| qop_hfsc.c | 108 u_int bandwidth = 100000000; /* 100Mbps */ local 116 if (EQUAL(*argv, "bandwidth")) { 119 bandwidth = atobps(*argv); 133 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 136 if (qcmd_hfsc_add_if(ifname, bandwidth, flags) != 0) 182 fm2 = ifinfo->bandwidth / 100 * pshare; 192 } else if (EQUAL(*argv, "bandwidth")) { 345 qcmd_hfsc_add_if(const char *ifname, u_int bandwidth, int flags) 349 error = qop_hfsc_add_if(NULL, ifname, bandwidth, flags); 413 u_int bandwidth, int flags [all...] |
| /src/sys/dev/i2c/ |
| mt2131.c | 70 uint32_t bandwidth; member in struct:mt2131_softc
|
| /src/usr.sbin/altq/tbrconfig/ |
| tbrconfig.c | 206 u_long bandwidth; local 209 bandwidth = strtoul(s, &cp, 0); 212 bandwidth *= 1000; 214 bandwidth *= 1000000; 216 bandwidth *= 1000000000; 218 return (bandwidth);
|
| /src/external/bsd/tcpdump/dist/ |
| print-igrp.c | 62 nd_uint24_t igr_bw; /* bandwidth in units of 1 kb/s */ 74 u_int delay, bandwidth; local 78 bandwidth = GET_BE_U_3(igr->igr_bw); 79 metric = ND_MIN(bandwidth + delay, 0xffffff); 83 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
|
| print-eigrp.c | 134 nd_uint32_t bandwidth; member in struct:eigrp_tlv_ip_int_t 154 nd_uint32_t bandwidth; member in struct:eigrp_tlv_ip_ext_t 173 nd_uint32_t bandwidth; member in struct:eigrp_tlv_at_int_t 192 nd_uint32_t bandwidth; member in struct:eigrp_tlv_at_ext_t 378 ND_PRINT("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 380 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_int->bandwidth), 421 ND_PRINT("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 423 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_ext->bandwidth), 463 ND_PRINT("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 465 GET_BE_U_4(tlv_ptr.eigrp_tlv_at_int->bandwidth), [all...] |
| print-rsvp.c | 337 uint8_t bandwidth[4]; member in struct:rsvp_obj_frr_t 370 { 0x04, "Bandwidth protection" }, 416 { 0x08, "Bandwidth protection" }, /* RFC4090 */ 1561 bw.i = GET_BE_U_4(obj_ptr.rsvp_obj_frr->bandwidth); 1562 ND_PRINT("%s Setup Priority: %u, Holding Priority: %u, Hop-limit: %u, Bandwidth: %.10g Mbps", 1580 bw.i = GET_BE_U_4(obj_ptr.rsvp_obj_frr->bandwidth); 1581 ND_PRINT("%s Setup Priority: %u, Holding Priority: %u, Hop-limit: %u, Bandwidth: %.10g Mbps",
|
| /src/sys/dev/usb/ |
| uhcivar.h | 142 u_int bandwidth; /* max bandwidth used by this frame */ member in struct:uhci_vframe
|
| /src/dist/pf/sbin/pfctl/ |
| parse.y | 420 %token ALTQ CBQ PRIQ HFSC BANDWIDTH TBRSIZE LINKSHARE REALTIME UPPERLIMIT 464 %type <v.queue_bwspec> bandwidth 1377 queue_opt : BANDWIDTH bandwidth { 1379 yyerror("bandwidth cannot be respecified"); 1431 bandwidth : STRING { label 1449 yyerror("bandwidth spec " 1555 hfscopts_item : LINKSHARE bandwidth { 1563 | LINKSHARE '(' bandwidth comma number comma bandwidth ')' [all...] |
| /src/sys/altq/ |
| altq_hfsc.h | 117 u_int bandwidth; /* link bandwidth in bits/sec */ member in struct:hfsc_attach 197 * y-axis doesn't wrap around for 4358 years with 1Gbps bandwidth.
|
| altq_jobs.h | 135 u_int bandwidth; /* link bandwidth in bits/sec */ member in struct:jobs_attach 377 u_int jif_bandwidth; /* link bandwidth in bps */
|
| /src/sys/dev/dtv/ |
| dtvio_frontend.h | 161 /* Frontend bandwidth */ 213 fe_bandwidth_t bandwidth; member in struct:dvb_ofdm_parameters
|
| /src/external/bsd/wpa/dist/src/ap/ |
| hostapd.c | 4269 switch (params->bandwidth) { 4284 switch (params->bandwidth) { 4338 u8 chan, bandwidth; local 4344 switch (settings->freq_params.bandwidth) { 4347 bandwidth = CONF_OPER_CHWIDTH_80P80MHZ; 4349 bandwidth = CONF_OPER_CHWIDTH_80MHZ; 4352 bandwidth = CONF_OPER_CHWIDTH_160MHZ; 4355 bandwidth = CONF_OPER_CHWIDTH_320MHZ; 4358 bandwidth = CONF_OPER_CHWIDTH_USE_HT; 4365 bandwidth, [all...] |
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_nl80211.h | 59 int bandwidth; member in struct:i802_link
|