Home
last modified time | relevance | path

Searched refs:burst (Results 1 – 25 of 57) sorted by relevance

123

/external/iptables/extensions/
Dlibxt_hashlimit.t2 -m hashlimit --hashlimit-above 1/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK
3 -m hashlimit --hashlimit-above 1000000/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK
4 -m hashlimit --hashlimit-above 1/min --hashlimit-burst 5 --hashlimit-name mini1;=;OK
5 -m hashlimit --hashlimit-above 1/hour --hashlimit-burst 5 --hashlimit-name mini1;=;OK
7 -m hashlimit --hashlimit-above 1/day --hashlimit-burst 5 --hashlimit-name mini1;;FAIL
8 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK
9 -m hashlimit --hashlimit-upto 1000000/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK
10 -m hashlimit --hashlimit-upto 1/min --hashlimit-burst 5 --hashlimit-name mini1;=;OK
11 -m hashlimit --hashlimit-upto 1/hour --hashlimit-burst 5 --hashlimit-name mini1;=;OK
13 -m hashlimit --hashlimit-upto 1/day --hashlimit-burst 5 --hashlimit-name mini1;;FAIL
[all …]
Dlibxt_hashlimit.c104 XTOPT_POINTER(s, cfg.burst)},
193 to->burst = cfg->burst; in cfg_copy()
245 static uint64_t parse_burst(const char *burst, int revision) in parse_burst() argument
253 if (!xtables_strtoul(burst, &end, &v, 1, max) || in parse_burst()
265 "(max %lumb).", burst, max/1024/1024); in parse_burst()
353 r->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_init()
363 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt4_init_v1()
374 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt6_init_v1()
385 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt4_init()
396 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt6_init()
[all …]
Dlibxt_limit.c38 .flags = XTOPT_PUT, XTOPT_POINTER(struct xt_rateinfo, burst),
85 r->burst = XT_LIMIT_BURST; in limit_init()
143 printf(" burst %u", r->burst); in limit_print()
151 if (r->burst != XT_LIMIT_BURST) in limit_save()
152 printf(" --limit-burst %u", r->burst); in limit_save()
187 if (r->burst != 0) in limit_xlate()
188 xt_xlate_add(xl, " burst %u packets", r->burst); in limit_xlate()
Dlibebt_limit.c90 r->burst = EBT_LIMIT_BURST; in brlimit_init()
117 r->burst = num; in brlimit_parse()
159 printf("--limit-burst %u ", r->burst); in brlimit_print()
Dlibxt_hashlimit.man18 \fB\-\-hashlimit\-burst\fP \fIamount\fP
23 with caution -- if the entry expires, the burst value is reset too.
76 \-\-hashlimit-mode dstip \-\-hashlimit\-above 512kb/s \-\-hashlimit-burst 1mb
Dlibxt_limit.t6 -m limit --limit 1/sec --limit-burst 1;=;OK
/external/libnl/python/netlink/route/qdisc/
Dhtb.py75 def burst(self): member in HTBClass
76 burst = capi.rtnl_htb_get_rbuffer(self._class._rtnl_class)
77 return util.Size(burst)
79 @burst.setter
80 def burst(self, value): member in HTBClass
86 burst = capi.rtnl_htb_get_cbuffer(self._class._rtnl_class)
87 return util.Size(burst)
/external/iproute2/tc/
Dtc_red.c53 int tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt) in tc_red_eval_ewma() argument
57 double a = (double)burst + 1 - (double)qmin/avpkt; in tc_red_eval_ewma()
61 " Try burst %u\n", burst, 1 + qmin/avpkt); in tc_red_eval_ewma()
65 if (a <= (1 - pow(1-W, burst))/W) in tc_red_eval_ewma()
Dq_choke.c38 unsigned burst = 0; in choke_parse_opt() local
79 if (get_unsigned(&burst, *argv, 0)) { in choke_parse_opt()
119 if (!burst) in choke_parse_opt()
120 burst = (2 * opt.qth_min + opt.qth_max) / 3; in choke_parse_opt()
132 wlog = tc_red_eval_ewma(opt.qth_min*avpkt, burst, avpkt); in choke_parse_opt()
138 fprintf(stderr, "CHOKE: WARNING. Burst %d seems to be too large.\n", burst); in choke_parse_opt()
Dq_red.c39 unsigned burst = 0; in red_parse_opt() local
71 if (get_unsigned(&burst, *argv, 0)) { in red_parse_opt()
124 if (!burst) in red_parse_opt()
125 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in red_parse_opt()
130 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in red_parse_opt()
135 fprintf(stderr, "RED: WARNING. Burst %u seems to be too large.\n", burst); in red_parse_opt()
Dq_sfq.c42 unsigned int burst = 0; in sfq_parse_opt() local
122 if (get_unsigned(&burst, *argv, 0)) { in sfq_parse_opt()
170 if (!burst) in sfq_parse_opt()
171 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in sfq_parse_opt()
183 wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt); in sfq_parse_opt()
189 fprintf(stderr, "SFQ: WARNING. Burst %u seems to be too large.\n", burst); in sfq_parse_opt()
Dq_gred.c126 unsigned burst = 0; in gred_parse_opt() local
179 if (get_unsigned(&burst, *argv, 0)) { in gred_parse_opt()
231 if (!burst) { in gred_parse_opt()
232 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in gred_parse_opt()
233 fprintf(stderr, "GRED: set burst to %u\n", burst); in gred_parse_opt()
239 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in gred_parse_opt()
245 "large.\n", burst); in gred_parse_opt()
Dm_police.c282 p.burst = tc_calc_xmittime(p.rate.rate, buffer); in act_parse_police()
348 buffer = tc_calc_xmitsize(p->rate.rate, p->burst); in print_police()
352 fprintf(f, "[%08x] ", p->burst); in print_police()
Dtc_red.h5 extern int tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt);
/external/netperf/doc/examples/
Drunemomni.sh148 echo bidir TCP_RR MEGABITS to $data altering req/rsp size and burst
153 for burst in $bursts; do
154 … $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -D;HDR=-"P 0";
162 echo bidir UDP_RR MEGABITS to $data altering req/rsp size and burst
167 for burst in $bursts; do
168 …ntrol_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -T udp;HDR=-"P 0";
/external/iptables/include/linux/netfilter/
Dxt_hashlimit.h31 __u32 burst; /* Period multiplier for upper limit. */ member
55 __u32 burst; /* Period multiplier for upper limit. */ member
68 __u64 burst; /* Period multiplier for upper limit. */ member
Dxt_limit.h15 __u32 burst; /* Period multiplier for upper limit. */ member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_hashlimit.h32 __u32 burst; /* Period multiplier for upper limit. */ member
56 __u32 burst; /* Period multiplier for upper limit. */ member
69 __u64 burst; /* Period multiplier for upper limit. */ member
Dxt_limit.h15 __u32 burst; /* Period multiplier for upper limit. */ member
/external/iproute2/doc/actions/
Dactions-general15 127.0.0.1/32 flowid 1:1 police mtu 4000 rate 1500kbit burst 90k
56 police mtu 4000 rate 1500kbit burst 90k
62 action police mtu 4000 rate 1500kbit burst 90k
150 action police rate 1kbit burst 9k pipe \
158 action police index 30 mtu 5000 rate 1kbit burst 10k pipe \
163 action police index 20 mtu 5000 rate 1kbit burst 90k drop
178 action order 2: police 1 action pipe rate 1Kbit burst 9Kb mtu 2Kb
183 action order 4: police 30 action pipe rate 1Kbit burst 10Kb mtu 5000b
188 action order 6: police 20 action drop rate 1Kbit burst 90Kb mtu 5000b
221 action order 2: police 1 action pipe rate 1Kbit burst 9Kb mtu 2Kb
[all …]
/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c333 uint32_t burst, uint32_t cburst, in class_add_HTB() argument
371 if (burst) { in class_add_HTB()
373 rtnl_htb_set_rbuffer(class, burst); in class_add_HTB()
393 uint32_t burst, uint32_t cburst in class_add_HTB_root() argument
427 if (burst) { in class_add_HTB_root()
428 rtnl_htb_set_rbuffer(class, burst); in class_add_HTB_root()
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debt_limit.h16 __u32 burst; /* Period multiplier for upper limit. */ member
/external/iproute2/examples/diffserv/
DREADME70 meter1=police index 1 rate $CIR1 burst $CBS1
71 meter2=police index 2 rate $CIR2 burst $CBS2 etc
/external/iproute2/examples/
DSYN-DoS.rate.limit36 police rate 1kbit burst 40 mtu 9k drop flowid :1
/external/svox/pico/tests/data/
Dtests_regressions_es-ES.txt12 # TEST (old bug: burst of noise at end of sentence)

123