Lines Matching refs:infra_cache
345 struct infra_cache*
348 struct infra_cache* infra = (struct infra_cache*)calloc(1,
349 sizeof(struct infra_cache));
428 infra_delete(struct infra_cache* infra)
441 struct infra_cache*
442 infra_adjust(struct infra_cache* infra, struct config_file* cfg)
512 infra_lookup_nottl(struct infra_cache* infra, struct sockaddr_storage* addr,
528 data_entry_init(struct infra_cache* infra, struct lruhash_entry* e,
557 new_entry(struct infra_cache* infra, struct sockaddr_storage* addr,
587 infra_host(struct infra_cache* infra, struct sockaddr_storage* addr,
659 infra_set_lame(struct infra_cache* infra, struct sockaddr_storage* addr,
697 infra_update_tcp_works(struct infra_cache* infra,
715 infra_rtt_update(struct infra_cache* infra, struct sockaddr_storage* addr,
777 long long infra_get_host_rto(struct infra_cache* infra,
803 infra_edns_update(struct infra_cache* infra, struct sockaddr_storage* addr,
834 infra_get_lame_rtt(struct infra_cache* infra,
917 int infra_find_ratelimit(struct infra_cache* infra, uint8_t* name,
965 static struct lruhash_entry* infra_find_ratedata(struct infra_cache* infra,
978 static struct lruhash_entry* infra_find_ip_ratedata(struct infra_cache* infra,
991 static void infra_create_ratedata(struct infra_cache* infra,
1019 static void infra_ip_create_ratedata(struct infra_cache* infra,
1098 int infra_ratelimit_inc(struct infra_cache* infra, uint8_t* name,
1146 void infra_ratelimit_dec(struct infra_cache* infra, uint8_t* name,
1166 int infra_ratelimit_exceeded(struct infra_cache* infra, uint8_t* name,
1190 infra_get_mem(struct infra_cache* infra)
1240 int infra_ip_ratelimit_inc(struct infra_cache* infra,
1268 int infra_wait_limit_allowed(struct infra_cache* infra, struct comm_reply* rep,
1304 void infra_wait_limit_inc(struct infra_cache* infra, struct comm_reply* rep,
1326 void infra_wait_limit_dec(struct infra_cache* infra, struct comm_reply* rep,