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_node * | parent |
| 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) | |
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.