/openbsd-current/sys/net/ |
H A D | wg_cookie.h | 76 struct ratelimit { struct 99 struct ratelimit cc_ratelimit_v4; 101 struct ratelimit cc_ratelimit_v6;
|
H A D | wg_cookie.c | 40 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 D | Makefile.bsd-wrapper | 24 --enable-ratelimit
|
H A D | Makefile.in | 100 $(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 D | configure | 669 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 D | ns8250.c | 64 * 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 D | device.h | 15 #include <linux/ratelimit.h> /* dev_printk.h -> ratelimit.h */
|
/openbsd-current/usr.sbin/unbound/util/ |
H A D | config_file.h | 614 /** ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden) */ 616 /** ratelimit for ip addresses with a valid DNS Cookie. 0 is off, 625 /** ratelimit backoff, when on, if the limit is reached it is 630 /** ratelimit for domains. 0 is off, otherwise qps (unless overridden) */ 631 int ratelimit; member in struct:config_file 632 /** number of slabs for ratelimit cache */ 634 /** memory size in bytes for ratelimit cache */ 640 /** ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic */ 642 /** ratelimit backoff, when on, if the limit is reached it is
|
H A D | config_file.c | 344 cfg->ratelimit = 0; 804 else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) { 808 else if(strcmp(opt, "ip-ratelimit:") == 0) { 812 else if(strcmp(opt, "ratelimit:") == 0) { 813 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val); 814 infra_dp_ratelimit=cfg->ratelimit; 816 else S_MEMSIZE("ip-ratelimit-size:", ip_ratelimit_size) 817 else S_MEMSIZE("ratelimit-size:", ratelimit_size) 818 else S_POW2("ip-ratelimit-slabs:", ip_ratelimit_slabs) 819 else S_POW2("ratelimit [all...] |
H A D | configparser.y | 2690 else cfg_parser->cfg->ratelimit = atoi($2); 2747 "ratelimit-for-domain"); 2762 "ratelimit-below-domain");
|
/openbsd-current/sbin/unwind/libunbound/util/ |
H A D | config_file.h | 614 /** ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden) */ 616 /** ratelimit for ip addresses with a valid DNS Cookie. 0 is off, 625 /** ratelimit backoff, when on, if the limit is reached it is 630 /** ratelimit for domains. 0 is off, otherwise qps (unless overridden) */ 631 int ratelimit; member in struct:config_file 632 /** number of slabs for ratelimit cache */ 634 /** memory size in bytes for ratelimit cache */ 640 /** ratelimit factor, 0 blocks all, 10 allows 1/10 of traffic */ 642 /** ratelimit backoff, when on, if the limit is reached it is
|
H A D | config_file.c | 344 cfg->ratelimit = 0; 804 else if(strcmp(opt, "ip-ratelimit-cookie:") == 0) { 808 else if(strcmp(opt, "ip-ratelimit:") == 0) { 812 else if(strcmp(opt, "ratelimit:") == 0) { 813 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val); 814 infra_dp_ratelimit=cfg->ratelimit; 816 else S_MEMSIZE("ip-ratelimit-size:", ip_ratelimit_size) 817 else S_MEMSIZE("ratelimit-size:", ratelimit_size) 818 else S_POW2("ip-ratelimit-slabs:", ip_ratelimit_slabs) 819 else S_POW2("ratelimit [all...] |
H A D | configparser.y | 2690 else cfg_parser->cfg->ratelimit = atoi($2); 2747 "ratelimit-for-domain"); 2762 "ratelimit-below-domain");
|
/openbsd-current/sys/dev/pci/drm/apple/ |
H A D | iomfb.c | 15 #include <linux/ratelimit.h>
|
/openbsd-current/usr.sbin/unbound/daemon/ |
H A D | unbound.c | 203 + (cfg->ratelimit?cfg->ratelimit_size:0)
|
/openbsd-current/usr.sbin/unbound/services/cache/ |
H A D | infra.c | 73 /** ratelimit value for delegation point */ 76 /** ratelimit value for client ip addresses, 80 /** ratelimit value for client ip addresses, 341 infra_dp_ratelimit = cfg->ratelimit; 410 infra_dp_ratelimit = cfg->ratelimit; 1069 /* find ratelimit */ 1093 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s from %s", buf, lim, qnm, cs, ts, ip); 1095 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s", buf, lim, qnm, cs, ts); 1134 /* find ratelimit */
|
/openbsd-current/sbin/unwind/libunbound/services/cache/ |
H A D | infra.c | 73 /** ratelimit value for delegation point */ 76 /** ratelimit value for client ip addresses, 80 /** ratelimit value for client ip addresses, 341 infra_dp_ratelimit = cfg->ratelimit; 410 infra_dp_ratelimit = cfg->ratelimit; 1069 /* find ratelimit */ 1093 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s from %s", buf, lim, qnm, cs, ts, ip); 1095 verbose(VERB_OPS, "ratelimit exceeded %s %d query %s %s %s", buf, lim, qnm, cs, ts); 1134 /* find ratelimit */
|
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_ioc32.c | 31 #include <linux/ratelimit.h>
|
/openbsd-current/sys/dev/pci/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager.c | 25 #include <linux/ratelimit.h>
|