Searched refs:ratelimit (Results 1 - 19 of 19) sorted by relevance

/openbsd-current/sys/net/
H A Dwg_cookie.h76 struct ratelimit { struct
99 struct ratelimit cc_ratelimit_v4;
101 struct ratelimit cc_ratelimit_v6;
H A Dwg_cookie.c40 static int ratelimit_init(struct ratelimit *, struct pool *);
41 static void ratelimit_deinit(struct ratelimit *);
42 static void ratelimit_gc(struct ratelimit *, int);
43 static int ratelimit_allow(struct ratelimit *, struct sockaddr *);
192 * implying there is no ratelimiting, or we should ratelimit
290 ratelimit_init(struct ratelimit *rl, struct pool *pool)
302 ratelimit_deinit(struct ratelimit *rl)
311 ratelimit_gc(struct ratelimit *rl, int force)
349 ratelimit_allow(struct ratelimit *rl, struct sockaddr *sa)
469 struct ratelimit r
[all...]
/openbsd-current/usr.sbin/nsd/
H A DMakefile.bsd-wrapper24 --enable-ratelimit
H A DMakefile.in100 $(EDIT) $(srcdir)/nsd.conf.sample.in | $(AWK) '/RRLconfig'@ratelimit@'/ { while($$0 !~ /.*RRLend.*/) { getline; } getline; } {print} ' > nsd.conf.sample
104 $(EDIT) $(srcdir)/nsd.conf.5.in | $(AWK) '/rrlstart'@ratelimit@'/ { while($$0 !~ /.*rrlend.*/) { getline; } getline; } {print} ' > nsd.conf.5
H A Dconfigure669 ratelimit
1458 --enable-ratelimit Enable rate limiting
1459 --enable-ratelimit-default-is-off
1460 Enable this to set default of ratelimit to off
1461 (enable in nsd.conf), otherwise ratelimit is enabled
1462 by default if --enable-ratelimit is enabled
10635 # Check whether --enable-ratelimit was given.
10646 ratelimit="xx"
10649 ratelimit=""
10654 # Check whether --enable-ratelimit
[all...]
/openbsd-current/usr.sbin/vmd/
H A Dns8250.c64 * ratelimit
75 ratelimit(int fd, short type, void *arg) function
136 evtimer_set(&com1_dev.rate, ratelimit, NULL);
673 evtimer_set(&com1_dev.rate, ratelimit, NULL);
/openbsd-current/sys/dev/pci/drm/include/linux/
H A Ddevice.h15 #include <linux/ratelimit.h> /* dev_printk.h -> ratelimit.h */
/openbsd-current/usr.sbin/unbound/util/
H A Dconfig_file.h612 /** ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden) */
614 /** ratelimit for ip addresses with a valid DNS Cookie. 0 is off,
623 /** ratelimit backoff, when on, if the limit is reached it is
628 /** ratelimit for domains. 0 is off, otherwise qps (unless overridden) */
629 int ratelimit; member in struct:config_file
630 /** number of slabs for ratelimit cache */
632 /** memory size in bytes for ratelimit cache */
638 /** ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic */
640 /** ratelimit backoff, when on, if the limit is reached it is
H A Dconfig_file.c343 cfg->ratelimit = 0;
801 else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) {
805 else if(strcmp(opt, "ip-ratelimit:") == 0) {
809 else if(strcmp(opt, "ratelimit:") == 0) {
810 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val);
811 infra_dp_ratelimit=cfg->ratelimit;
813 else S_MEMSIZE("ip-ratelimit-size:", ip_ratelimit_size)
814 else S_MEMSIZE("ratelimit-size:", ratelimit_size)
815 else S_POW2("ip-ratelimit-slabs:", ip_ratelimit_slabs)
816 else S_POW2("ratelimit
[all...]
H A Dconfigparser.y2672 else cfg_parser->cfg->ratelimit = atoi($2);
2729 "ratelimit-for-domain");
2744 "ratelimit-below-domain");
/openbsd-current/sbin/unwind/libunbound/util/
H A Dconfig_file.h612 /** ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden) */
614 /** ratelimit for ip addresses with a valid DNS Cookie. 0 is off,
623 /** ratelimit backoff, when on, if the limit is reached it is
628 /** ratelimit for domains. 0 is off, otherwise qps (unless overridden) */
629 int ratelimit; member in struct:config_file
630 /** number of slabs for ratelimit cache */
632 /** memory size in bytes for ratelimit cache */
638 /** ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic */
640 /** ratelimit backoff, when on, if the limit is reached it is
H A Dconfig_file.c343 cfg->ratelimit = 0;
801 else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) {
805 else if(strcmp(opt, "ip-ratelimit:") == 0) {
809 else if(strcmp(opt, "ratelimit:") == 0) {
810 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val);
811 infra_dp_ratelimit=cfg->ratelimit;
813 else S_MEMSIZE("ip-ratelimit-size:", ip_ratelimit_size)
814 else S_MEMSIZE("ratelimit-size:", ratelimit_size)
815 else S_POW2("ip-ratelimit-slabs:", ip_ratelimit_slabs)
816 else S_POW2("ratelimit
[all...]
H A Dconfigparser.y2672 else cfg_parser->cfg->ratelimit = atoi($2);
2729 "ratelimit-for-domain");
2744 "ratelimit-below-domain");
/openbsd-current/sys/dev/pci/drm/apple/
H A Diomfb.c15 #include <linux/ratelimit.h>
/openbsd-current/usr.sbin/unbound/daemon/
H A Dunbound.c203 + (cfg->ratelimit?cfg->ratelimit_size:0)
/openbsd-current/usr.sbin/unbound/services/cache/
H A Dinfra.c63 /** ratelimit value for delegation point */
66 /** ratelimit value for client ip addresses,
70 /** ratelimit value for client ip addresses,
331 infra_dp_ratelimit = cfg->ratelimit;
399 infra_dp_ratelimit = cfg->ratelimit;
1060 /* find ratelimit */
1084 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s from %s", buf, lim, qnm, cs, ts, ip);
1086 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s", buf, lim, qnm, cs, ts);
1125 /* find ratelimit */
/openbsd-current/sbin/unwind/libunbound/services/cache/
H A Dinfra.c63 /** ratelimit value for delegation point */
66 /** ratelimit value for client ip addresses,
70 /** ratelimit value for client ip addresses,
331 infra_dp_ratelimit = cfg->ratelimit;
399 infra_dp_ratelimit = cfg->ratelimit;
1060 /* find ratelimit */
1084 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s from %s", buf, lim, qnm, cs, ts, ip);
1086 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s", buf, lim, qnm, cs, ts);
1125 /* find ratelimit */
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_ioc32.c31 #include <linux/ratelimit.h>
/openbsd-current/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c25 #include <linux/ratelimit.h>

Completed in 292 milliseconds