|
Electroneum
|
#include <authzone.h>

Public Attributes | |
| rbnode_type | node |
| uint8_t * | name |
| size_t | namelen |
| int | namelabs |
| uint16_t | dclass |
| lock_rw_type | lock |
| rbtree_type | data |
| char * | zonefile |
| int | fallback_enabled |
| int | zone_expired |
| int | zone_is_slave |
| int | for_downstream |
| int | for_upstream |
| int | zone_deleted |
| struct auth_zone * | delete_next |
Auth zone. Authoritative data, that is fetched from instead of sending packets to the internet.
Definition at line 90 of file authzone.h.
| rbtree_type auth_zone::data |
auth data for this zone rbtree of struct auth_data
Definition at line 112 of file authzone.h.
| uint16_t auth_zone::dclass |
the class of this zone, in host byteorder. uses 'dclass' to not conflict with c++ keyword class.
Definition at line 102 of file authzone.h.
| struct auth_zone* auth_zone::delete_next |
deletelist pointer, unused normally except during delete
Definition at line 132 of file authzone.h.
| int auth_zone::fallback_enabled |
fallback to the internet on failure or ttl-expiry of auth zone
Definition at line 117 of file authzone.h.
| int auth_zone::for_downstream |
for downstream: this zone answers queries towards the downstream clients
Definition at line 125 of file authzone.h.
| int auth_zone::for_upstream |
for upstream: this zone answers queries that unbound intends to send upstream.
Definition at line 128 of file authzone.h.
| lock_rw_type auth_zone::lock |
lock on the data in the structure For the node, parent, name, namelen, namelabs, dclass, you need to also hold the zones_tree lock to change them (or to delete this zone)
Definition at line 108 of file authzone.h.
| uint8_t* auth_zone::name |
zone name, in uncompressed wireformat
Definition at line 95 of file authzone.h.
| int auth_zone::namelabs |
number of labels in zone name
Definition at line 99 of file authzone.h.
| size_t auth_zone::namelen |
length of zone name
Definition at line 97 of file authzone.h.
| rbnode_type auth_zone::node |
rbtree node, key is name and class
Definition at line 92 of file authzone.h.
| int auth_zone::zone_deleted |
zone has been deleted
Definition at line 130 of file authzone.h.
| int auth_zone::zone_expired |
the zone has expired (enabled by the xfer worker), fallback happens if that option is enabled.
Definition at line 120 of file authzone.h.
| int auth_zone::zone_is_slave |
zone is a slave zone (it has masters)
Definition at line 122 of file authzone.h.
| char* auth_zone::zonefile |
zonefile name (or NULL for no zonefile)
Definition at line 115 of file authzone.h.