Home
last modified time | relevance | path

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

1234

/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.c131 XTOPT_POINTER(s, cfg.burst)},
252 to->burst = cfg->burst; in cfg_copy()
264 to->burst = cfg->burst; in cfg_copy()
316 static uint64_t parse_burst(const char *burst, int revision) in parse_burst() argument
324 if (!xtables_strtoul(burst, &end, &v, 1, max) || in parse_burst()
336 "(max %"PRIu64"mb).", burst, max/1024/1024); in parse_burst()
434 r->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_init()
444 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt4_init_v1()
455 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt6_init_v1()
466 info->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_mt4_init_v2()
[all …]
Dlibebt_limit.txlate1 ebtables-translate -A INPUT --limit 3/m --limit-burst 3
2 nft add rule bridge filter INPUT limit rate 3/minute burst 3 packets counter
4 ebtables-translate -A INPUT --limit 10/s --limit-burst 5
5 nft add rule bridge filter INPUT limit rate 10/second burst 5 packets counter
7 ebtables-translate -A INPUT --limit 10/s --limit-burst 0
Dlibxt_limit.txlate1 iptables-translate -A INPUT -m limit --limit 3/m --limit-burst 3
2 nft add rule ip filter INPUT limit rate 3/minute burst 3 packets counter
4 iptables-translate -A INPUT -m limit --limit 10/s --limit-burst 5
5 nft add rule ip filter INPUT limit rate 10/second burst 5 packets counter
7 iptables-translate -A INPUT -m limit --limit 10/s --limit-burst 0
Dlibxt_limit.c42 .flags = XTOPT_PUT, XTOPT_POINTER(struct xt_rateinfo, burst),
89 r->burst = XT_LIMIT_BURST; in limit_init()
147 printf(" burst %u", r->burst); in limit_print()
155 if (r->burst != XT_LIMIT_BURST) in limit_save()
156 printf(" --limit-burst %u", r->burst); in limit_save()
191 if (r->burst != 0) in limit_xlate()
192 xt_xlate_add(xl, " burst %u packets", r->burst); in limit_xlate()
234 r->burst = num; in brlimit_parse()
250 printf(" --limit-burst %u ", r->burst); in brlimit_print()
Dlibxt_hashlimit.txlate1 … tcp -p tcp --dport 443 -m hashlimit --hashlimit-above 20kb/s --hashlimit-burst 1mb --hashlimit-mo…
2 …{ ip daddr and 255.255.255.0 timeout 60s limit rate over 20 kbytes/second burst 1 mbytes} ct state…
4 …T -m tcp -p tcp --dport 443 -m hashlimit --hashlimit-upto 300 --hashlimit-burst 15 --hashlimit-mod…
5 … 443 meter https { ip daddr . ip saddr timeout 300s limit rate 300/second burst 15 packets} ct sta…
/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 int qmin, unsigned int burst, unsigned int avpkt) in tc_red_eval_ewma() argument
57 double a = (double)burst + 1 - (double)qmin/avpkt; in tc_red_eval_ewma()
61 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 int burst = 0; in choke_parse_opt() local
77 if (get_unsigned(&burst, *argv, 0)) { in choke_parse_opt()
117 if (!burst) in choke_parse_opt()
118 burst = (2 * opt.qth_min + opt.qth_max) / 3; in choke_parse_opt()
130 wlog = tc_red_eval_ewma(opt.qth_min*avpkt, burst, avpkt); in choke_parse_opt()
136 fprintf(stderr, "CHOKE: WARNING. Burst %d seems to be too large.\n", burst); in choke_parse_opt()
Dq_red.c39 unsigned int burst = 0; in red_parse_opt() local
69 if (get_unsigned(&burst, *argv, 0)) { in red_parse_opt()
122 if (!burst) in red_parse_opt()
123 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in red_parse_opt()
128 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in red_parse_opt()
133 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
120 if (get_unsigned(&burst, *argv, 0)) { in sfq_parse_opt()
168 if (!burst) in sfq_parse_opt()
169 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in sfq_parse_opt()
181 wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt); in sfq_parse_opt()
187 fprintf(stderr, "SFQ: WARNING. Burst %u seems to be too large.\n", burst); in sfq_parse_opt()
Dq_gred.c124 unsigned int burst = 0; in gred_parse_opt() local
177 if (get_unsigned(&burst, *argv, 0)) { in gred_parse_opt()
228 if (!burst) { in gred_parse_opt()
229 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in gred_parse_opt()
230 fprintf(stderr, "GRED: set burst to %u\n", burst); in gred_parse_opt()
236 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in gred_parse_opt()
242 burst); in gred_parse_opt()
Dm_police.c219 p.burst = tc_calc_xmittime(p.rate.rate, buffer); in act_parse_police()
285 buffer = tc_calc_xmitsize(p->rate.rate, p->burst); in print_police()
289 fprintf(f, "[%08x] ", p->burst); in print_police()
Dtc_red.h5 extern int tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt);
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_hashlimit.h35 __u32 burst; /* Period multiplier for upper limit. */ member
59 __u32 burst; /* Period multiplier for upper limit. */ member
72 __u64 burst; /* Period multiplier for upper limit. */ member
86 __u64 burst; /* Period multiplier for upper limit. */ member
Dxt_limit.h16 __u32 burst; /* Period multiplier for upper limit. */ member
/external/iptables/include/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
83 __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/tensorflow/tensorflow/lite/nnapi/
DNeuralNetworksShim.h1026 ANeuralNetworksBurst** burst) { in ANeuralNetworksBurst_create() argument
1028 EXECUTE_FUNCTION_RETURN(compilation, burst); in ANeuralNetworksBurst_create()
1039 inline void ANeuralNetworksBurst_free(ANeuralNetworksBurst* burst) { in ANeuralNetworksBurst_free() argument
1041 EXECUTE_FUNCTION(burst); in ANeuralNetworksBurst_free()
1065 ANeuralNetworksExecution* execution, ANeuralNetworksBurst* burst) { in ANeuralNetworksExecution_burstCompute() argument
1067 EXECUTE_FUNCTION_RETURN(execution, burst); in ANeuralNetworksExecution_burstCompute()
Dnnapi_implementation.h1044 ANeuralNetworksBurst** burst);
1054 void (*ANeuralNetworksBurst_free)(ANeuralNetworksBurst* burst);
1077 ANeuralNetworksExecution* execution, ANeuralNetworksBurst* burst);
/external/oboe/src/common/
DQuirksManager.cpp41 int32_t burst = stream.getFramesPerBurst(); in clipBufferSize() local
42 int32_t minSize = bottomMargin * burst; in clipBufferSize()
47 int32_t maxSize = stream.getBufferCapacityInFrames() - (topMargin * burst); in clipBufferSize()
/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c336 uint32_t burst, uint32_t cburst, in class_add_HTB() argument
374 if (burst) { in class_add_HTB()
376 rtnl_htb_set_rbuffer(class, burst); in class_add_HTB()
396 uint32_t burst, uint32_t cburst in class_add_HTB_root() argument
430 if (burst) { in class_add_HTB_root()
431 rtnl_htb_set_rbuffer(class, burst); in class_add_HTB_root()
/external/bcc/examples/networking/neighbor_sharing/
Dtc_neighbor_sharing.py35 classid=1, rate="128kbit", burst=1024 * 32, mtu=16 * 1024)
38 classid=2, rate="1024kbit", burst=1024 * 32, mtu=16 * 1024)
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debt_limit.h17 __u32 burst; /* Period multiplier for upper limit. */ member

1234