Home
last modified time | relevance | path

Searched refs:ratelimit (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/sys/dev/wg/
H A Dwg_cookie.c52 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);
78 static struct ratelimit ratelimit_v4;
80 static struct ratelimit ratelimit_v6;
345 ratelimit_init(struct ratelimit *rl) in ratelimit_init()
358 ratelimit_deinit(struct ratelimit *rl) in ratelimit_deinit()
379 ratelimit_gc_schedule(struct ratelimit *rl) in ratelimit_gc_schedule()
[all …]
/freebsd-14.2/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw_qos.c112 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 Dfw_qos.h85 u8 *pg, u16 *ratelimit);
/freebsd-14.2/contrib/sendmail/src/
H A Dratectrl.c259 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 Dqueue.c6856 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-14.2/contrib/unbound/util/
H A Dconfiglexer.lex523 ip-ratelimit{COLON} { YDVAR(1, VAR_IP_RATELIMIT) }
524 ip-ratelimit-cookie{COLON} { YDVAR(1, VAR_IP_RATELIMIT_COOKIE) }
525 ratelimit{COLON} { YDVAR(1, VAR_RATELIMIT) }
526 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) }
527 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) }
528 ip-ratelimit-size{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SIZE) }
529 ratelimit-size{COLON} { YDVAR(1, VAR_RATELIMIT_SIZE) }
530 ratelimit-for-domain{COLON} { YDVAR(2, VAR_RATELIMIT_FOR_DOMAIN) }
532 ip-ratelimit-factor{COLON} { YDVAR(1, VAR_IP_RATELIMIT_FACTOR) }
533 ratelimit-factor{COLON} { YDVAR(1, VAR_RATELIMIT_FACTOR) }
[all …]
H A Dconfig_file.h640 int ratelimit; member
H A Dconfig_file.c348 cfg->ratelimit = 0; in config_create()
833 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val); in config_set_option()
834 infra_dp_ratelimit=cfg->ratelimit; in config_set_option()
1321 else O_DEC(opt, "ratelimit", ratelimit) in config_get_option()
H A Dconfigparser.y2741 else cfg_parser->cfg->ratelimit = atoi($2);
H A Dconfigparser.c6083 else cfg_parser->cfg->ratelimit = atoi((yyvsp[0].str)); in yyparse()
/freebsd-14.2/contrib/unbound/doc/
H A Dexample.conf.in1005 # ratelimit: 0
1008 # ratelimit-size: 4m
1010 # ratelimit-slabs: 4
1013 # ratelimit-factor: 10
1017 # ratelimit-backoff: no
1029 # ip-ratelimit: 0
1036 # ip-ratelimit-cookie: 0
1039 # ip-ratelimit-size: 4m
1041 # ip-ratelimit-slabs: 4
1044 # ip-ratelimit-factor: 10
[all …]
H A DChangelog299 - Fix ip-ratelimit-cookie setting, it was not applied.
628 ratelimit regardless of the allow_cookie acl.
1653 - Merge PR #616: Update ratelimit logic. It also introduces
1654 ratelimit-backoff and ip-ratelimit-backoff configuration options.
4172 ip-ratelimit.
4343 - Fix that ratelimit and ip-ratelimit are applied after reload of
4345 - Resize ratelimit and ip-ratelimit caches if changed on reload.
4988 - Fix #1418: [ip ratelimit] initialize slabhash using
4989 ip-ratelimit-slabs.
5837 - nicer ratelimit-below-domain explanation.
[all …]
/freebsd-14.2/sys/dev/mpi3mr/
H A Dmpi3mr_cam.c1148 static int ratelimit; in mpi3mr_enqueue_request() local
1173 if (ratelimit % 1000) { in mpi3mr_enqueue_request()
1181 ratelimit++; in mpi3mr_enqueue_request()
1199 if (ratelimit % 1000) { in mpi3mr_enqueue_request()
1205 ratelimit++; in mpi3mr_enqueue_request()
H A Dmpi3mr.c4486 static int ratelimit; in mpi3mr_process_op_reply_desc() local
4570 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4580 ratelimit++; in mpi3mr_process_op_reply_desc()
4593 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4600 ratelimit++; in mpi3mr_process_op_reply_desc()
4614 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4621 ratelimit++; in mpi3mr_process_op_reply_desc()
4633 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4643 ratelimit++; in mpi3mr_process_op_reply_desc()
/freebsd-14.2/sys/compat/linprocfs/
H A Dlinprocfs.c957 static int ratelimit = 0; in linprocfs_doprocstat() local
980 if (ratelimit == 0) { in linprocfs_doprocstat()
983 ++ratelimit; in linprocfs_doprocstat()
/freebsd-14.2/contrib/unbound/services/cache/
H A Dinfra.c341 infra_dp_ratelimit = cfg->ratelimit; in infra_create()
410 infra_dp_ratelimit = cfg->ratelimit; in infra_adjust()
/freebsd-14.2/contrib/unbound/daemon/
H A Dunbound.c203 + (cfg->ratelimit?cfg->ratelimit_size:0) in checkrlimits()
/freebsd-14.2/contrib/unbound/contrib/
H A Daaaa-filter-iterator.patch297 /** lock on ratelimit counter */
H A Dfastrpz.patch3200 /** 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-14.2/contrib/ntp/sntp/libevent/
H A DChangeLog883 o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
/freebsd-14.2/contrib/libevent/
H A DChangeLog883 o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
/freebsd-14.2/sys/conf/
H A Dfiles4368 netinet/tcp_ratelimit.c optional ratelimit inet | ratelimit inet6