Home
last modified time | relevance | path

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

1234

/third_party/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…
Dlibxt_limit.t6 -m limit --limit 1/sec --limit-burst 1;=;OK
Dlibxt_hashlimit.man18 \fB\-\-hashlimit\-burst\fP \fIamount\fP
23 with caution -- if the entry expires, the burst value is reset too.
84 \-\-hashlimit-mode dstip \-\-hashlimit\-above 512kb/s \-\-hashlimit-burst 1mb
Dlibxt_limit.man15 \fB\-\-limit\-burst\fP \fInumber\fP
/third_party/libinput/src/
Dutil-ratelimit.c34 ratelimit_init(struct ratelimit *r, uint64_t ival_us, unsigned int burst) in ratelimit_init() argument
38 r->burst = burst; in ratelimit_init()
61 if (r->interval <= 0 || r->burst <= 0) in ratelimit_test()
72 } else if (r->num < r->burst) { in ratelimit_test()
74 return (++r->num == r->burst) ? RATELIMIT_THRESHOLD in ratelimit_test()
Dutil-ratelimit.h40 unsigned int burst; member
44 void ratelimit_init(struct ratelimit *r, uint64_t ival_ms, unsigned int burst);
/third_party/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)
/third_party/ffmpeg/tools/
Dtrasher.c66 int burst = 1 + ran() * (uint64_t) (abs(maxburst) - 1) / UINT32_MAX; in main() local
71 burst = -maxburst; in main()
73 if (pos + burst > length) in main()
76 while (burst--) { in main()
/third_party/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
/third_party/pulseaudio/src/pulsecore/
Dratelimit.h29 unsigned burst; member
37 .burst = (_burst), \
47 r->burst = (_burst); \
Dratelimit.c47 pa_assert(r->burst > 0); in pa_ratelimit_test()
63 if (r->n_printed <= r->burst) in pa_ratelimit_test()
/third_party/FreeBSD/stand/kshim/
Dbsd_busspace.c29 struct burst { struct
200 enum { BURST = sizeof(struct burst) / 4 }; in bus_space_read_region_4()
205 *(struct burst *)datap = *((/* volatile */ struct burst *)h); in bus_space_read_region_4()
222 enum { BURST = sizeof(struct burst) / 4 }; in bus_space_write_region_4()
227 *((/* volatile */ struct burst *)h) = *(struct burst *)datap; in bus_space_write_region_4()
/third_party/nghttp2/src/
Dshrpx_rate_limit.cc41 RateLimit::RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst, in RateLimit() argument
47 burst_(burst), in RateLimit()
48 avail_(burst), in RateLimit()
Dshrpx_rate_limit.h42 RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst,
/third_party/skia/third_party/externals/oboe/src/common/
DQuirksManager.cpp45 int32_t burst = stream.getFramesPerBurst(); in clipBufferSize() local
46 int32_t minSize = bottomMargin * burst; in clipBufferSize()
51 int32_t maxSize = stream.getBufferCapacityInFrames() - (topMargin * burst); in clipBufferSize()
DREADME.md21 The adapter contains one burst of frames, from getFramesPerBurst(). But if the app specifies a
/third_party/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()
/third_party/nghttp2/doc/bash_completion/
Dnghttpx11burst --npn-list --dns-max-try --fetch-ocsp-response-file --no-via --tls-session-cache-memcached-c…
/third_party/skia/third_party/externals/oboe/tests/
DtestStreamOpen.cpp358 int32_t burst = mStream->getFramesPerBurst(); in TEST_F() local
360 ASSERT_LE(bufferSize, burst * 3); in TEST_F()

1234