|
Electroneum
|
#include <localzone.h>

Public Attributes | |
| rbnode_type | node |
| struct local_zone * | parent |
| uint8_t * | name |
| size_t | namelen |
| int | namelabs |
| uint16_t | dclass |
| lock_rw_type | lock |
| enum localzone_type | type |
| uint8_t * | taglist |
| size_t | taglen |
| struct rbtree_type * | override_tree |
| struct regional * | region |
| rbtree_type | data |
| struct ub_packed_rrset_key * | soa |
Local zone. A locally served authoritative zone.
Definition at line 109 of file localzone.h.
| rbtree_type local_zone::data |
local data for this zone rbtree of struct local_data
Definition at line 146 of file localzone.h.
| uint16_t local_zone::dclass |
the class of this zone. uses 'dclass' to not conflict with c++ keyword class.
Definition at line 123 of file localzone.h.
| lock_rw_type local_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 129 of file localzone.h.
| uint8_t* local_zone::name |
zone name, in uncompressed wireformat
Definition at line 116 of file localzone.h.
| int local_zone::namelabs |
number of labels in zone name
Definition at line 120 of file localzone.h.
| size_t local_zone::namelen |
length of zone name
Definition at line 118 of file localzone.h.
| rbnode_type local_zone::node |
rbtree node, key is name and class
Definition at line 111 of file localzone.h.
| struct rbtree_type* local_zone::override_tree |
netblock addr_tree with struct local_zone_override information or NULL if there are no override elements
Definition at line 139 of file localzone.h.
| struct local_zone* local_zone::parent |
parent zone, if any.
Definition at line 113 of file localzone.h.
| struct regional* local_zone::region |
in this region the zone's data is allocated. the struct local_zone itself is malloced.
Definition at line 143 of file localzone.h.
| struct ub_packed_rrset_key* local_zone::soa |
if data contains zone apex SOA data, this is a ptr to it.
Definition at line 148 of file localzone.h.
| size_t local_zone::taglen |
length of the taglist (in bytes)
Definition at line 136 of file localzone.h.
| uint8_t* local_zone::taglist |
tag bitlist
Definition at line 134 of file localzone.h.
| enum localzone_type local_zone::type |
how to process zone
Definition at line 132 of file localzone.h.