dns_rrl Struct Reference

#include <rrl.h>


Public Member Functions

 ISC_LIST (dns_rrl_block_t) blocks
 ISC_LIST (dns_rrl_entry_t) lru
 ISC_LIST (dns_rrl_qname_buf_t) qname_free

Data Fields

isc_mutex_t lock
isc_mem_tmctx
isc_boolean_t log_only
dns_rrl_rate_t responses_per_second
dns_rrl_rate_t referrals_per_second
dns_rrl_rate_t nodata_per_second
dns_rrl_rate_t nxdomains_per_second
dns_rrl_rate_t errors_per_second
dns_rrl_rate_t all_per_second
dns_rrl_rate_t slip
int window
double qps_scale
int max_entries
dns_acl_texempt
int num_entries
int qps_responses
isc_stdtime_t qps_time
double qps
unsigned int probes
unsigned int searches
dns_rrl_hash_thash
dns_rrl_hash_told_hash
unsigned int hash_gen
unsigned int ts_gen
isc_stdtime_t ts_bases [DNS_RRL_TS_BASES]
int ipv4_prefixlen
isc_uint32_t ipv4_mask
int ipv6_prefixlen
isc_uint32_t ipv6_mask [4]
isc_stdtime_t log_stops_time
dns_rrl_entry_tlast_logged
int num_logged
int num_qnames
dns_rrl_qname_buf_tqnames [DNS_RRL_QNAMES]


Detailed Description

Definition at line 205 of file rrl.h.


Member Function Documentation

dns_rrl::ISC_LIST ( dns_rrl_block_t   ) 

dns_rrl::ISC_LIST ( dns_rrl_entry_t   ) 

dns_rrl::ISC_LIST ( dns_rrl_qname_buf_t   ) 


Field Documentation

isc_mutex_t dns_rrl::lock

Definition at line 206 of file rrl.h.

Referenced by dns_rrl(), dns_rrl_init(), and dns_rrl_view_destroy().

isc_mem_t* dns_rrl::mctx

Definition at line 207 of file rrl.h.

Referenced by dns_rrl_init(), dns_rrl_view_destroy(), expand_entries(), expand_rrl_hash(), free_old_hash(), and make_log_buf().

isc_boolean_t dns_rrl::log_only

Definition at line 209 of file rrl.h.

Referenced by configure_rrl(), dns_rrl(), log_end(), ns_client_error(), and query_find().

dns_rrl_rate_t dns_rrl::responses_per_second

Definition at line 210 of file rrl.h.

Referenced by configure_rrl(), and get_rate().

dns_rrl_rate_t dns_rrl::referrals_per_second

Definition at line 211 of file rrl.h.

Referenced by get_rate().

dns_rrl_rate_t dns_rrl::nodata_per_second

Definition at line 212 of file rrl.h.

Referenced by get_rate().

dns_rrl_rate_t dns_rrl::nxdomains_per_second

Definition at line 213 of file rrl.h.

Referenced by get_rate().

dns_rrl_rate_t dns_rrl::errors_per_second

Definition at line 214 of file rrl.h.

Referenced by get_rate().

dns_rrl_rate_t dns_rrl::all_per_second

Definition at line 215 of file rrl.h.

Referenced by dns_rrl(), and get_rate().

dns_rrl_rate_t dns_rrl::slip

Definition at line 216 of file rrl.h.

Referenced by debit_rrl_entry().

int dns_rrl::window

Definition at line 217 of file rrl.h.

Referenced by configure_rrl(), debit_rrl_entry(), dns_rrl(), and get_entry().

double dns_rrl::qps_scale

Definition at line 218 of file rrl.h.

Referenced by configure_rrl(), and dns_rrl().

int dns_rrl::max_entries

Definition at line 219 of file rrl.h.

Referenced by configure_rrl(), and expand_entries().

dns_acl_t* dns_rrl::exempt

Definition at line 221 of file rrl.h.

Referenced by configure_rrl(), dns_rrl(), and dns_rrl_view_destroy().

int dns_rrl::num_entries

Definition at line 223 of file rrl.h.

Referenced by expand_entries(), expand_rrl_hash(), and get_entry().

int dns_rrl::qps_responses

Definition at line 225 of file rrl.h.

Referenced by dns_rrl().

isc_stdtime_t dns_rrl::qps_time

Definition at line 226 of file rrl.h.

Referenced by dns_rrl().

double dns_rrl::qps

Definition at line 227 of file rrl.h.

Referenced by configure_rrl(), and dns_rrl().

unsigned int dns_rrl::probes

Definition at line 229 of file rrl.h.

Referenced by expand_entries(), expand_rrl_hash(), and ref_entry().

unsigned int dns_rrl::searches

Definition at line 230 of file rrl.h.

Referenced by expand_entries(), expand_rrl_hash(), and ref_entry().

dns_rrl_hash_t* dns_rrl::hash

Definition at line 235 of file rrl.h.

Referenced by dns_rrl_view_destroy(), expand_entries(), expand_rrl_hash(), get_entry(), and ref_entry().

dns_rrl_hash_t* dns_rrl::old_hash

Definition at line 236 of file rrl.h.

Referenced by dns_rrl_view_destroy(), expand_rrl_hash(), free_old_hash(), and get_entry().

unsigned int dns_rrl::hash_gen

Definition at line 237 of file rrl.h.

Referenced by expand_rrl_hash(), and get_entry().

unsigned int dns_rrl::ts_gen

Definition at line 239 of file rrl.h.

Referenced by set_age().

isc_stdtime_t dns_rrl::ts_bases[DNS_RRL_TS_BASES]

Definition at line 241 of file rrl.h.

Referenced by dns_rrl_init(), get_age(), and set_age().

int dns_rrl::ipv4_prefixlen

Definition at line 243 of file rrl.h.

Referenced by configure_rrl(), and make_log_buf().

isc_uint32_t dns_rrl::ipv4_mask

Definition at line 244 of file rrl.h.

Referenced by configure_rrl(), and make_key().

int dns_rrl::ipv6_prefixlen

Definition at line 245 of file rrl.h.

Referenced by configure_rrl(), and make_log_buf().

isc_uint32_t dns_rrl::ipv6_mask[4]

Definition at line 246 of file rrl.h.

Referenced by configure_rrl(), and make_key().

isc_stdtime_t dns_rrl::log_stops_time

Definition at line 248 of file rrl.h.

Referenced by dns_rrl(), and log_stops().

dns_rrl_entry_t* dns_rrl::last_logged

Definition at line 249 of file rrl.h.

Referenced by dns_rrl(), log_stops(), and ref_entry().

int dns_rrl::num_logged

Definition at line 250 of file rrl.h.

Referenced by dns_rrl(), dns_rrl_view_destroy(), log_end(), and log_stops().

int dns_rrl::num_qnames

Definition at line 251 of file rrl.h.

Referenced by make_log_buf().

dns_rrl_qname_buf_t* dns_rrl::qnames[DNS_RRL_QNAMES]

Definition at line 254 of file rrl.h.

Referenced by dns_rrl_view_destroy(), get_qname(), and make_log_buf().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha