H A D | rrl.c | 29 #include <dns/rrl.h> 33 log_end(dns_rrl_t *rrl, dns_rrl_entry_t *e, isc_boolean_t early, 127 get_age(const dns_rrl_t *rrl, const dns_rrl_entry_t *e, isc_stdtime_t now) { argument 130 return (delta_rrl_time(e->ts + rrl->ts_bases[e->ts_gen], now)); 134 set_age(dns_rrl_t *rrl, dns_rrl_entry_t *e, isc_stdtime_t now) { argument 139 ts_gen = rrl->ts_gen; 140 ts = now - rrl->ts_bases[ts_gen]; 162 for (e_old = ISC_LIST_TAIL(rrl->lru), i = 0; 172 "rrl new time base scanned %d entries" 174 i, now, rrl 192 expand_entries(dns_rrl_t *rrl, int newsize) argument 254 free_old_hash(dns_rrl_t *rrl) argument 277 expand_rrl_hash(dns_rrl_t *rrl, isc_stdtime_t now) argument 330 ref_entry(dns_rrl_t *rrl, dns_rrl_entry_t *e, int probes, isc_stdtime_t now) argument 388 make_key(const dns_rrl_t *rrl, dns_rrl_key_t *key, const isc_sockaddr_t *client_addr, dns_rdatatype_t qtype, dns_name_t *qname, dns_rdataclass_t qclass, dns_rrl_rtype_t rtype) argument 445 get_rate(dns_rrl_t *rrl, dns_rrl_rtype_t rtype) argument 466 response_balance(dns_rrl_t *rrl, const dns_rrl_entry_t *e, int age) argument 487 get_entry(dns_rrl_t *rrl, const isc_sockaddr_t *client_addr, dns_rdataclass_t qclass, dns_rdatatype_t qtype, dns_name_t *qname, dns_rrl_rtype_t rtype, isc_stdtime_t now, isc_boolean_t create, char *log_buf, unsigned int log_buf_len) argument 605 debit_rrl_entry(dns_rrl_t *rrl, dns_rrl_entry_t *e, double qps, double scale, const isc_sockaddr_t *client_addr, isc_stdtime_t now, char *log_buf, unsigned int log_buf_len) argument 743 get_qname(dns_rrl_t *rrl, const dns_rrl_entry_t *e) argument 753 free_qname(dns_rrl_t *rrl, dns_rrl_entry_t *e) argument 783 make_log_buf(dns_rrl_t *rrl, dns_rrl_entry_t *e, const char *str1, const char *str2, isc_boolean_t plural, dns_name_t *qname, isc_boolean_t save_qname, dns_rrl_result_t rrl_result, isc_result_t resp_result, char *log_buf, unsigned int log_buf_len) argument 938 log_end(dns_rrl_t *rrl, dns_rrl_entry_t *e, isc_boolean_t early, char *log_buf, unsigned int log_buf_len) argument 962 log_stops(dns_rrl_t *rrl, isc_stdtime_t now, int limit, char *log_buf, unsigned int log_buf_len) argument 1007 dns_rrl_t *rrl; local 1231 dns_rrl_t *rrl; local 1281 dns_rrl_t *rrl; local [all...] |