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

1234

/netbsd-current/usr.sbin/altq/libaltq/
H A Dqop_fifoq.h37 int qcmd_fifoq_add_if(const char *ifname, u_int bandwidth, int qlimit);
39 u_int bandwidth, int qlimit);
H A Dqop_blue.h41 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 Dqop_wfq.h39 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 Dqop_red.h43 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 Dqop_rio.h41 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 Dqop_cbq.h53 double psPerByte; /* bandwidth in ps per sec */
63 u_int bandwidth; /* bandwidth in bps */ member in struct:cbq_classinfo
64 u_int allocated; /* bandwidth used by children */
79 int qcmd_cbq_add_if(const char *ifname, u_int bandwidth,
83 u_int pri, u_int bandwidth,
88 u_int pri, u_int bandwidth,
93 u_int bandwidth, int is_wrr, int efficient, bool no_control);
96 struct classinfo *borrow, u_int pri, u_int bandwidth,
100 int qop_cbq_modify_class(struct classinfo *clinfo, u_int pri, u_int bandwidth,
[all...]
H A Dqop_fifoq.c86 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 Dqop_priq.h51 int qcmd_priq_add_if(const char *ifname, u_int bandwidth, int flags);
57 u_int bandwidth, int flags);
H A Dqop_cbq.c115 u_int 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 u_int bandwidth = 0; local
241 bandwidth = atobps(*argv);
291 if (bandwidth == 0 && pbandwidth != 0) {
295 bandwidth = ifinfo->bandwidth / 10
312 qcmd_cbq_add_if(const char *ifname, u_int bandwidth, int is_wrr, int efficient, bool no_control) argument
326 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
404 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
481 qop_cbq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int is_wrr, int efficient, bool no_control) argument
521 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
671 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
767 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 Dqop_dummy.c77 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 Dqop_blue.c86 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 Dqop_red.c86 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 Dqop_hfsc.h66 int qcmd_hfsc_add_if(const char *ifname, u_int bandwidth, int flags);
74 u_int bandwidth, int flags);
H A Dqop_jobs.h109 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 Dqop_wfq.c86 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 Dqop_rio.c87 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 Dqop_priq.c94 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,
364 iface.arg = ifinfo->bandwidth;
231 qop_priq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int flags) argument
[all...]
H A Dqop_jobs.c150 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,
531 attach.bandwidth
366 qop_jobs_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int qlimit, int separate) argument
[all...]
H A Dqop_hfsc.c108 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...]
H A Dqop.c329 qop_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, argument
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
[all...]
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-igrp.c64 nd_uint24_t igr_bw; /* bandwidth in units of 1 kb/s */
76 u_int delay, bandwidth; local
80 bandwidth = GET_BE_U_3(igr->igr_bw);
81 metric = ND_MIN(bandwidth + delay, 0xffffff);
85 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
H A Dprint-eigrp.c136 nd_uint32_t bandwidth; member in struct:eigrp_tlv_ip_int_t
156 nd_uint32_t bandwidth; member in struct:eigrp_tlv_ip_ext_t
175 nd_uint32_t bandwidth; member in struct:eigrp_tlv_at_int_t
194 nd_uint32_t bandwidth; member in struct:eigrp_tlv_at_ext_t
380 ND_PRINT("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u",
382 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_int->bandwidth),
423 ND_PRINT("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u",
425 GET_BE_U_4(tlv_ptr.eigrp_tlv_ip_ext->bandwidth),
465 ND_PRINT("\n\t delay %u ms, bandwidth %u Kbps, mtu %u, hop %u, reliability %u, load %u",
467 GET_BE_U_4(tlv_ptr.eigrp_tlv_at_int->bandwidth),
[all...]
/netbsd-current/usr.sbin/altq/tbrconfig/
H A Dtbrconfig.c206 u_long bandwidth; local
209 bandwidth = strtoul(s, &cp, 0);
212 bandwidth *= 1000;
214 bandwidth *= 1000000;
216 bandwidth *= 1000000000;
218 return (bandwidth);
/netbsd-current/dist/pf/sbin/pfctl/
H A Dpfctl_altq.c173 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-current/sys/dev/usb/
H A Duhcivar.h142 u_int bandwidth; /* max bandwidth used by this frame */ member in struct:uhci_vframe

Completed in 219 milliseconds

1234