Maintained by: NLnet Labs
Data Fields
name_tree_node Struct Reference

Tree of domain names. More...

#include <dnstree.h>

Data Fields

rbnode_type node
 rbtree node, key is this struct : dclass and name
 
struct name_tree_nodeparent
 parent in tree
 
uint8_t * name
 name in uncompressed wireformat
 
size_t len
 length of name
 
int labs
 labels in name
 
uint16_t dclass
 the class of the name (host order)
 

Detailed Description

Tree of domain names.

Sorted first by class then by name. This is not sorted canonically, but fast. This can be looked up to obtain a closest encloser parent name.

The tree itself is a rbtree_type. This is the element node put as first entry in the client structure.


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