Electroneum
infra_cache Struct Reference

#include <infra.h>

Collaboration diagram for infra_cache:

Public Attributes

struct slabhashhosts
 
int host_ttl
 
struct slabhashdomain_rates
 
rbtree_type domain_limits
 
struct slabhashclient_ip_rates
 

Detailed Description

Infra cache

Definition at line 112 of file infra.h.

Member Data Documentation

◆ client_ip_rates

struct slabhash* infra_cache::client_ip_rates

hash table with query rates per client ip: ip_rate_key, ip_rate_data

Definition at line 122 of file infra.h.

◆ domain_limits

rbtree_type infra_cache::domain_limits

ratelimit settings for domains, struct domain_limit_data

Definition at line 120 of file infra.h.

◆ domain_rates

struct slabhash* infra_cache::domain_rates

hash table with query rates per name: rate_key, rate_data

Definition at line 118 of file infra.h.

◆ host_ttl

int infra_cache::host_ttl

TTL value for host information, in seconds

Definition at line 116 of file infra.h.

◆ hosts

struct slabhash* infra_cache::hosts

The hash table with hosts

Definition at line 114 of file infra.h.


The documentation for this struct was generated from the following file: