local_zone Struct Reference

Local zone. More...

#include <localzone.h>


Data Fields

rbnode_t node
 rbtree node, key is name and class
struct local_zoneparent
 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 regionalregion
 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_keysoa
 if data contains zone apex SOA data, this is a ptr to it.


Detailed Description

Local zone.

A locally served authoritative zone.


Field Documentation

parent zone, if any.

Referenced by init_parents(), and local_zones_lookup().

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().

if data contains zone apex SOA data, this is a ptr to it.

Referenced by lz_enter_rr_into_zone(), and lz_zone_answer().


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

Generated on Sun Sep 21 16:23:31 2008 for unbound by  doxygen 1.5.6