Deleted Added
full compact
infra.h (356345) infra.h (368693)
1/*
2 * services/cache/infra.h - infrastructure cache, server rtt and capabilities
3 *
4 * Copyright (c) 2007, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 100 unchanged lines hidden (view full) ---

109/**
110 * Infra cache
111 */
112struct infra_cache {
113 /** The hash table with hosts */
114 struct slabhash* hosts;
115 /** TTL value for host information, in seconds */
116 int host_ttl;
1/*
2 * services/cache/infra.h - infrastructure cache, server rtt and capabilities
3 *
4 * Copyright (c) 2007, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 100 unchanged lines hidden (view full) ---

109/**
110 * Infra cache
111 */
112struct infra_cache {
113 /** The hash table with hosts */
114 struct slabhash* hosts;
115 /** TTL value for host information, in seconds */
116 int host_ttl;
117 /** the hosts that are down are kept probed for recovery */
118 int infra_keep_probing;
117 /** hash table with query rates per name: rate_key, rate_data */
118 struct slabhash* domain_rates;
119 /** ratelimit settings for domains, struct domain_limit_data */
120 rbtree_type domain_limits;
121 /** hash table with query rates per client ip: ip_rate_key, ip_rate_data */
122 struct slabhash* client_ip_rates;
123};
124

--- 343 unchanged lines hidden ---
119 /** hash table with query rates per name: rate_key, rate_data */
120 struct slabhash* domain_rates;
121 /** ratelimit settings for domains, struct domain_limit_data */
122 rbtree_type domain_limits;
123 /** hash table with query rates per client ip: ip_rate_key, ip_rate_data */
124 struct slabhash* client_ip_rates;
125};
126

--- 343 unchanged lines hidden ---