Electroneum
Loading...
Searching...
No Matches
name_tree_node Struct Reference

#include <dnstree.h>

Collaboration diagram for name_tree_node:

Public Attributes

rbnode_type node
struct name_tree_nodeparent
uint8_tname
size_t len
int labs
uint16_t dclass

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.

Definition at line 55 of file dnstree.h.

Member Data Documentation

◆ dclass

uint16_t name_tree_node::dclass

the class of the name (host order)

Definition at line 67 of file dnstree.h.

◆ labs

int name_tree_node::labs

labels in name

Definition at line 65 of file dnstree.h.

◆ len

size_t name_tree_node::len

length of name

Definition at line 63 of file dnstree.h.

◆ name

uint8_t* name_tree_node::name

name in uncompressed wireformat

Definition at line 61 of file dnstree.h.

◆ node

rbnode_type name_tree_node::node

rbtree node, key is this struct : dclass and name

Definition at line 57 of file dnstree.h.

◆ parent

struct name_tree_node* name_tree_node::parent

parent in tree

Definition at line 59 of file dnstree.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/unbound/util/storage/dnstree.h