#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. | |
| 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. | |
A locally served authoritative zone.
struct local_zone* local_zone::parent [read] |
| 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_zones_lookup(), local_zones_print(), lz_enter_rr_into_zone(), lz_enter_zone_dname(), and lz_exists().
struct regional* local_zone::region [read] |
in this region the zone's data is allocated.
the struct local_zone itself is malloced.
Referenced by local_zone_delete(), lz_enter_rr_into_zone(), lz_enter_zone_dname(), and lz_find_create_node().
struct ub_packed_rrset_key* local_zone::soa [read] |
if data contains zone apex SOA data, this is a ptr to it.
Referenced by lz_enter_rr_into_zone(), and lz_zone_answer().
1.5.6