|
unbound
0.1
|
Local zone. More...
#include <localzone.h>
Data Fields | |
| rbnode_t | node |
| rbtree node, key is name and class | |
| struct local_zone * | parent |
| parent zone, if any. | |
| uint8_t * | name |
| zone name, in uncompressed wireformat | |
| size_t | namelen |
| length of zone name | |
| int | namelabs |
| number of labels in zone name | |
| uint16_t | dclass |
| the class of this zone. | |
| lock_rw_t | 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) | |
| enum localzone_type | type |
| how to process zone | |
| struct regional * | region |
| in this region the zone's data is allocated. | |
| rbtree_t | data |
| local data for this zone rbtree of struct local_data | |
| struct ub_packed_rrset_key * | soa |
| if data contains zone apex SOA data, this is a ptr to it. | |
Local zone.
A locally served authoritative zone.
| struct local_zone* local_zone::parent |
parent zone, if any.
Referenced by init_parents(), local_zone_create(), local_zones_add_zone(), local_zones_del_zone(), local_zones_lookup(), and set_kiddo_parents().
| uint16_t local_zone::dclass |
the class of this zone.
uses 'dclass' to not conflict with c++ keyword class.
Referenced by init_parents(), local_zone_cmp(), local_zone_create(), local_zones_find(), local_zones_lookup(), local_zones_print(), lz_enter_rr_into_zone(), lz_exists(), and set_kiddo_parents().
| struct regional* local_zone::region |
in this region the zone's data is allocated.
the struct local_zone itself is malloced.
Referenced by local_zone_create(), local_zone_delete(), lz_enter_rr_into_zone(), and lz_find_create_node().
| struct ub_packed_rrset_key* local_zone::soa |
if data contains zone apex SOA data, this is a ptr to it.
Referenced by local_zones_del_data(), lz_enter_rr_into_zone(), and lz_zone_answer().
1.7.6.1