Home
last modified time | relevance | path

Searched refs:conn_bucket_cfg (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtest-ratelim.c80 static struct ev_token_bucket_cfg *conn_bucket_cfg = NULL; variable
199 if (conn_bucket_cfg) { in echo_listenercb()
202 bufferevent_set_rate_limit(bev, conn_bucket_cfg); in echo_listenercb()
397 conn_bucket_cfg = ev_token_bucket_cfg_new( in test_ratelimiting()
401 assert(conn_bucket_cfg); in test_ratelimiting()
/freebsd/contrib/libevent/test/
H A Dtest-ratelim.c80 static struct ev_token_bucket_cfg *conn_bucket_cfg = NULL; variable
199 if (conn_bucket_cfg) { in echo_listenercb()
202 bufferevent_set_rate_limit(bev, conn_bucket_cfg); in echo_listenercb()
397 conn_bucket_cfg = ev_token_bucket_cfg_new( in test_ratelimiting()
401 assert(conn_bucket_cfg); in test_ratelimiting()