/netbsd-6-1-5-RELEASE/usr.sbin/altq/libaltq/ |
H A D | qop_fifoq.h | 37 int qcmd_fifoq_add_if(const char *ifname, u_int bandwidth, int qlimit); 39 u_int bandwidth, int qlimit);
|
H A D | qop_blue.h | 41 int qcmd_blue_add_if(const char *ifname, u_int bandwidth, int max_pmark, 43 int qop_blue_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth,
|
H A D | qop_wfq.h | 39 int qcmd_wfq_add_if(const char *ifname, u_int bandwidth, int hash_policy, 41 int qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth,
|
H A D | qop_red.h | 43 int qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, 47 u_int bandwidth, int weight, int inv_pmax, int th_min,
|
H A D | qop_rio.h | 41 int qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight, 47 u_int bandwidth, int weight, struct redparams *red_params,
|
H A D | qop_cbq.h | 53 double nsPerByte; /* bandwidth in ns per sec */ 62 u_int bandwidth; /* bandwidth in bps */ member in struct:cbq_classinfo 63 u_int allocated; /* bandwidth used by children */ 78 int qcmd_cbq_add_if(const char *ifname, u_int bandwidth, 82 u_int pri, u_int bandwidth, 87 u_int pri, u_int bandwidth, 92 u_int bandwidth, int is_wrr, int efficient); 95 struct classinfo *borrow, u_int pri, u_int bandwidth, 99 int qop_cbq_modify_class(struct classinfo *clinfo, u_int pri, u_int bandwidth, [all...] |
H A D | qop_cbq.c | 111 u_int bandwidth = 100000000; /* 100Mbps */ local 120 if (EQUAL(*argv, "bandwidth")) { 123 bandwidth = atobps(*argv); 143 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) 146 if (qcmd_cbq_add_if(ifname, bandwidth, 159 u_int bandwidth = 0; local 228 bandwidth = atobps(*argv); 278 if (bandwidth == 0 && pbandwidth != 0) { 282 bandwidth = ifinfo->bandwidth / 10 299 qcmd_cbq_add_if(const char *ifname, u_int bandwidth, int is_wrr, int efficient) argument 311 qcmd_cbq_add_class(const char *ifname, const char *class_name, const char *parent_name, const char *borrow_name, u_int pri, u_int bandwidth, u_int maxdelay, u_int maxburst, u_int minburst, u_int av_pkt_size, u_int max_pkt_size, int admission_type, int flags) argument 389 qcmd_cbq_modify_class(const char *ifname, const char *class_name, u_int pri, u_int bandwidth, u_int maxdelay, u_int maxburst, u_int minburst, u_int av_pkt_size, u_int max_pkt_size, int flags) argument 466 qop_cbq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int is_wrr, int efficient) argument 505 qop_cbq_add_class(struct classinfo **rp, const char *class_name, struct ifinfo *ifinfo, struct classinfo *parent, struct classinfo *borrow, u_int pri, u_int bandwidth, u_int maxdelay, u_int maxburst, u_int minburst, u_int av_pkt_size, u_int max_pkt_size, int admission_type, int flags) argument 655 qop_cbq_modify_class(struct classinfo *clinfo, u_int pri, u_int bandwidth, u_int maxdelay, u_int maxburst, u_int minburst, u_int av_pkt_size, u_int max_pkt_size, int flags) argument 751 cbq_class_spec(struct ifinfo *ifinfo, u_long parent_class, u_long borrow_class, u_int pri, int flags, u_int bandwidth, u_int maxdelay, u_int maxburst, u_int minburst, u_int av_pkt_size, u_int max_pkt_size, cbq_class_spec_t *cl_spec) argument [all...] |
H A D | 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) argument 131 error = qop_fifoq_add_if(NULL, ifname, bandwidth, qlimit); 143 u_int bandwidth, int qlimit) 153 error = qop_add_if(&ifinfo, ifname, bandwidth, 142 qop_fifoq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int qlimit) argument
|
H A D | qop_priq.h | 51 int qcmd_priq_add_if(const char *ifname, u_int bandwidth, int flags); 57 u_int bandwidth, int flags);
|
H A D | 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)
|
H A D | 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, argument 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, argument 182 error = qop_add_if(&ifinfo, ifname, bandwidth, [all...] |
H A D | 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, argument 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, 193 qop_red_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int weight, int inv_pmax, int th_min, int th_max, int qlimit, int pkttime, int flags) argument [all...] |
H A D | qop_hfsc.h | 66 int qcmd_hfsc_add_if(const char *ifname, u_int bandwidth, int flags); 74 u_int bandwidth, int flags);
|
H A D | qop_jobs.h | 109 int qcmd_jobs_add_if(const char *ifname, u_int bandwidth, int qlimit, int separate); 116 u_int bandwidth, int qlimit, int separate);
|
H A D | 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, argument 161 error = qop_wfq_add_if(NULL, ifname, bandwidth, 173 qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, argument 186 error = qop_add_if(&ifinfo, ifname, bandwidth,
|
H A D | 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, argument 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, 238 qop_rio_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int weight, struct redparams *red_params, int qlimit, int pkttime, int flags) argument [all...] |
H A D | 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) argument 184 error = qop_priq_add_if(NULL, ifname, bandwidth, flags); 232 u_int bandwidth, int flags) 241 error = qop_add_if(&ifinfo, ifname, bandwidth, 365 iface.arg = ifinfo->bandwidth; 231 qop_priq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int flags) argument [all...] |
H A D | 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) argument 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, 534 attach.bandwidth 366 qop_jobs_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int qlimit, int separate) argument [all...] |
H A D | 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) argument 349 error = qop_hfsc_add_if(NULL, ifname, bandwidth, flags); 413 u_int bandwidth, in 412 qop_hfsc_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int flags) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/ |
H A D | print-igrp.c | 52 register u_int delay, bandwidth; local 66 bandwidth = EXTRACT_24BITS(igr->igr_bw); 67 metric = bandwidth + delay; 73 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
|
H A D | print-eigrp.c | 135 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_ip_int_t 155 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_ip_ext_t 174 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_at_int_t 193 u_int8_t bandwidth[4]; member in struct:eigrp_tlv_at_ext_t 349 printf("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 351 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth), 386 printf("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 388 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->bandwidth), 418 printf("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u", 420 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->bandwidth), [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/pvctxctl/ |
H A D | pvctxctl.c | 61 long bandwidth; local 89 bandwidth = strtol(optarg, &cp, 0); 92 bandwidth *= 1000; 94 bandwidth *= 1000000; 96 pcr = bandwidth / 8 / 48;
|
/netbsd-6-1-5-RELEASE/usr.sbin/altq/tbrconfig/ |
H A D | 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);
|
/netbsd-6-1-5-RELEASE/dist/pf/sbin/pfctl/ |
H A D | pfctl_altq.c | 173 printf("bandwidth %u%% ", bw->bw_percent); 175 printf("bandwidth %s ", rate2str((double)a->ifbandwidth)); 197 printf("bandwidth %u%% ", bw->bw_percent); 199 printf("bandwidth %s ", rate2str((double)a->bandwidth)); 231 fprintf(stderr, "interface %s does not know its bandwidth, " 232 "please specify an absolute bandwidth\n", 330 pa->bandwidth = eval_bwspec(bw, 331 parent == NULL ? 0 : parent->bandwidth); 333 if (pa->bandwidth > p [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/usb/ |
H A D | uhcivar.h | 126 u_int bandwidth; /* max bandwidth used by this frame */ member in struct:uhci_vframe
|