| /freebsd/sys/dev/wg/ |
| H A D | wg_cookie.c | 52 struct ratelimit { struct 70 static void ratelimit_init(struct ratelimit *); argument 71 static void ratelimit_deinit(struct ratelimit *); 73 static void ratelimit_gc_schedule(struct ratelimit *); 74 static void ratelimit_gc(struct ratelimit *, bool); 75 static int ratelimit_allow(struct ratelimit *, struct sockaddr *, struct vnet *); 78 static struct ratelimit ratelimit_v4; 80 static struct ratelimit ratelimit_v6; 88 ratelimit_zone = uma_zcreate("wg ratelimit", in cookie_init() 254 * implying there is no ratelimiting, or we should ratelimit in cookie_checker_validate_macs() [all...] |
| /freebsd/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_fw_qos.c | 112 u8 *pg, u16 *ratelimit) in mlx4_SET_PORT_SCHEDULER() argument 130 if (ratelimit && ratelimit[i]) { in mlx4_SET_PORT_SCHEDULER() 131 if (ratelimit[i] <= MLX4_MAX_100M_UNITS_VAL) { in mlx4_SET_PORT_SCHEDULER() 132 r = ratelimit[i]; in mlx4_SET_PORT_SCHEDULER() 136 r = ratelimit[i] / 10; in mlx4_SET_PORT_SCHEDULER()
|
| H A D | fw_qos.h | 85 u8 *pg, u16 *ratelimit);
|
| /freebsd/contrib/sendmail/src/ |
| H A D | ratectrl.c | 259 conn_limits(e, now, saddr, clflags, hashary, ratelimit, conclimit) in conn_limits() argument 265 int ratelimit; 397 if (ratelimit > 0) 399 if (cnt < ratelimit) 404 else if (ratelimit < 0 && ct->ct_Count > 0) 441 clflags, cnt, ratelimit,
|
| H A D | queue.c | 6856 int r, ratelimit, conclimit; local 6869 ratelimit = conclimit = 0; 6873 STR2INT(r, limit, ratelimit); 6882 exc = (bool) conn_limits(e, now, addr, SM_CLFL_EXC, occ, ratelimit,
|
| /freebsd/contrib/unbound/util/ |
| H A D | configlexer.lex | 524 ip-ratelimit{COLON} { YDVAR(1, VAR_IP_RATELIMIT) } 525 ip-ratelimit-cookie{COLON} { YDVAR(1, VAR_IP_RATELIMIT_COOKIE) } 526 ratelimit{COLON} { YDVAR(1, VAR_RATELIMIT) } 527 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) } 528 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) } 529 ip-ratelimit-size{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SIZE) } 530 ratelimit-size{COLON} { YDVAR(1, VAR_RATELIMIT_SIZE) } 531 ratelimit-for-domain{COLON} { YDVAR(2, VAR_RATELIMIT_FOR_DOMAIN) } 532 ratelimit-below-domain{COLON} { YDVAR(2, VAR_RATELIMIT_BELOW_DOMAIN) } 533 ip-ratelimit-factor{COLON} { YDVAR(1, VAR_IP_RATELIMIT_FACTOR) } [all …]
|
| H A D | config_file.h | 645 int ratelimit; member
|
| H A D | config_file.c | 349 cfg->ratelimit = 0; in config_create() 884 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val); in config_set_option() 885 infra_dp_ratelimit=cfg->ratelimit; in config_set_option() 1379 else O_DEC(opt, "ratelimit", ratelimit) in config_get_option()
|
| H A D | configparser.y | 2790 else cfg_parser->cfg->ratelimit = atoi($2);
|
| H A D | configparser.c | 6171 else cfg_parser->cfg->ratelimit = atoi((yyvsp[0].str)); in yyparse()
|
| /freebsd/contrib/unbound/doc/ |
| H A D | example.conf.in | 1053 # ratelimit for uncached, new queries, this limits recursion effort. 1056 # ratelimit: 0 1059 # ratelimit-size: 4m 1060 # ratelimit cache slabs, reduces lock contention if equal to cpucount. 1061 # ratelimit-slabs: 4 1064 # ratelimit-factor: 10 1068 # ratelimit-backoff: no 1070 # override the ratelimit for a specific domain name. 1072 # ratelimit-for-domain: example.com 1000 1075 # ratelimit-below-domain: com 1000 [all …]
|
| H A D | unbound-control.rst | 159 :ref:`ratelimit-size<unbound.conf.ratelimit-size>`, 256 :ref:`ratelimit<unbound.conf.ratelimit>`, 257 :ref:`ip-ratelimit<unbound.conf.ip-ratelimit>`, 258 :ref:`ip-ratelimit-cookie<unbound.conf.ip-ratelimit-cookie>`, 261 :ref:`ratelimit-below-domain<unbound.conf.ratelimit-below-domain>`, 262 :ref:`ratelimit-for-domain<unbound.conf.ratelimit-for-domain>`. 511 ssl-upstream, max-udp-size, ratelimit, ip-ratelimit, cache-max-ttl,
|
| H A D | unbound.conf.rst | 576 This makes a ratelimit per IP address of waiting replies for recursion. 3096 @@UAHL@unbound.conf@ratelimit@@: *<number or 0>* 3101 The ratelimit is in queries per second that are allowed. 3120 With the :ref:`ratelimit-factor<unbound.conf.ratelimit-factor>`, some 3130 @@UAHL@unbound.conf@ratelimit-size@@: *<memory size>* 3134 The ratelimit structure is small, so this data structure likely does not 3140 @@UAHL@unbound.conf@ratelimit-slabs@@: *<number>* 3141 Number of slabs in the ratelimit tracking data structure. 3151 @@UAHL@unbound.conf@ratelimit-factor@@: *<number>* 3164 @@UAHL@unbound.conf@ratelimit-backoff@@: *<yes or no>* [all …]
|
| H A D | Changelog | 470 - Fix that the ratelimit is decremented on successful 482 - Fix manual to document ratelimit, that it is for target 1126 - Fix for #1324: Fix to free edns options scratch in ratelimit case. 1830 - Fix #1106: ratelimit-below-domain logs the wrong FROM address. 1922 - Fix ip-ratelimit-cookie setting, it was not applied. 2251 ratelimit regardless of the allow_cookie acl. 2539 `queries_cookie_invalid` information. The `ip\-ratelimit\-cookie:` 3011 - Fix ratelimit inconsistency, for ip-ratelimits the value is the 3276 - Merge PR #616: Update ratelimit logic. It also introduces 3277 ratelimit-backoff and ip-ratelimit-backoff configuration options. [all …]
|
| /freebsd/sys/dev/mpi3mr/ |
| H A D | mpi3mr_cam.c | 1181 static int ratelimit; in mpi3mr_enqueue_request() local 1206 if (ratelimit % 1000) { in mpi3mr_enqueue_request() 1214 ratelimit++; in mpi3mr_enqueue_request() 1232 if (ratelimit % 1000) { in mpi3mr_enqueue_request() 1238 ratelimit++; in mpi3mr_enqueue_request()
|
| H A D | mpi3mr.c | 4709 static int ratelimit; in mpi3mr_process_op_reply_desc() local 4791 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc() 4801 ratelimit++; in mpi3mr_process_op_reply_desc() 4814 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc() 4821 ratelimit++; in mpi3mr_process_op_reply_desc() 4835 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc() 4842 ratelimit++; in mpi3mr_process_op_reply_desc() 4854 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc() 4864 ratelimit++; in mpi3mr_process_op_reply_desc()
|
| /freebsd/contrib/unbound/daemon/ |
| H A D | unbound.c | 203 + (cfg->ratelimit?cfg->ratelimit_size:0) in checkrlimits()
|
| H A D | remote.c | 5203 FR_CHECK_CHANGED_CFG("ratelimit", ratelimit, changed_str); in fr_check_nopause_compat_cfg() 6521 COPY_VAR_int(ratelimit); in fr_atomic_copy_cfg() 6742 infra_dp_ratelimit = cfg->ratelimit; in fr_adjust_infra()
|
| /freebsd/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 947 static int ratelimit = 0; in linprocfs_doprocstat() local 970 if (ratelimit == 0) { in linprocfs_doprocstat() 973 ++ratelimit; in linprocfs_doprocstat()
|
| /freebsd/contrib/unbound/services/cache/ |
| H A D | infra.c | 364 infra_dp_ratelimit = cfg->ratelimit; in infra_create() 449 infra_dp_ratelimit = cfg->ratelimit; in infra_adjust()
|
| /freebsd/contrib/unbound/contrib/ |
| H A D | aaaa-filter-iterator.patch | 297 /** lock on ratelimit counter */
|
| H A D | fastrpz.patch | 3200 /** ratelimit for ip addresses. 0 is off, otherwise qps (unless overridden) */ 3216 ip-ratelimit{COLON} { YDVAR(1, VAR_IP_RATELIMIT) } 3217 ratelimit{COLON} { YDVAR(1, VAR_RATELIMIT) }
|
| /freebsd/contrib/ntp/sntp/libevent/ |
| H A D | ChangeLog | 883 o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
|
| /freebsd/contrib/libevent/ |
| H A D | ChangeLog | 883 o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
|
| /freebsd/sys/conf/ |
| H A D | files | 4521 netinet/tcp_ratelimit.c optional ratelimit inet | ratelimit inet6
|