Deleted Added
sdiff udiff text old ( 356345 ) new ( 368693 )
full compact
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 /** 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 ---