Home
last modified time | relevance | path

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

/freebsd/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);
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 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/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/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) }
531 ratelimit-below-domain{COLON} { YDVAR(2, VAR_RATELIMIT_BELOW_DOMAIN) }
532 ip-ratelimit-factor{COLON} { YDVAR(1, VAR_IP_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/contrib/unbound/doc/
H A Dexample.conf.in1002 # ratelimit for uncached, new queries, this limits recursion effort.
1005 # ratelimit: 0
1008 # ratelimit-size: 4m
1009 # ratelimit cache slabs, reduces lock contention if equal to cpucount.
1010 # ratelimit-slabs: 4
1013 # ratelimit-factor: 10
1017 # ratelimit-backoff: no
1019 # override the ratelimit for a specific domain name.
1021 # ratelimit-for-domain: example.com 1000
1024 # ratelimit-below-domain: com 1000
[all …]
H A DChangelog207 - Fix #1106: ratelimit-below-domain logs the wrong FROM address.
299 - Fix ip-ratelimit-cookie setting, it was not applied.
628 ratelimit regardless of the allow_cookie acl.
916 `queries_cookie_invalid` information. The `ip\-ratelimit\-cookie:`
1388 - Fix ratelimit inconsistency, for ip-ratelimits the value is the
1653 - Merge PR #616: Update ratelimit logic. It also introduces
1654 ratelimit-backoff and ip-ratelimit-backoff configuration options.
1663 since it changes the aggressive-nsec default and the ratelimit change.
3956 - ip-ratelimit-factor of 1 allows all traffic through, instead of the
4171 - More explicitly mention the type of ratelimit when applying
[all …]
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.c1182 static int ratelimit; in mpi3mr_enqueue_request() local
1207 if (ratelimit % 1000) { in mpi3mr_enqueue_request()
1215 ratelimit++; in mpi3mr_enqueue_request()
1233 if (ratelimit % 1000) { in mpi3mr_enqueue_request()
1239 ratelimit++; in mpi3mr_enqueue_request()
H A Dmpi3mr.c4502 static int ratelimit; in mpi3mr_process_op_reply_desc() local
4584 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4594 ratelimit++; in mpi3mr_process_op_reply_desc()
4607 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4614 ratelimit++; in mpi3mr_process_op_reply_desc()
4628 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4635 ratelimit++; in mpi3mr_process_op_reply_desc()
4647 if (ratelimit % 1000) { in mpi3mr_process_op_reply_desc()
4657 ratelimit++; in mpi3mr_process_op_reply_desc()
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c951 static int ratelimit = 0; in linprocfs_doprocstat() local
974 if (ratelimit == 0) { in linprocfs_doprocstat()
977 ++ratelimit; in linprocfs_doprocstat()
/freebsd/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/contrib/unbound/daemon/
H A Dunbound.c203 + (cfg->ratelimit?cfg->ratelimit_size:0) in checkrlimits()
/freebsd/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/contrib/ntp/sntp/libevent/
H A DChangeLog883 o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
/freebsd/contrib/libevent/
H A DChangeLog883 o Add function to fetch underlying ratelimit cfg (4b3d5af Mark Ellzey)
/freebsd/sys/conf/
H A Dfiles4390 netinet/tcp_ratelimit.c optional ratelimit inet | ratelimit inet6