unbound 0.1
addr_tree_node Struct Reference

Tree of IP addresses. More...

#include <dnstree.h>

Data Fields

rbnode_type node
 rbtree node, key is this struct : proto and subnet
struct addr_tree_node * parent
 parent in tree
union addr_tree_addr addr
 address, addrlen is at most sizeof(union addr_tree_addr)
socklen_t addrlen
 length of addr
int net
 netblock size

Detailed Description

Tree of IP addresses.

Sorted first by protocol, then by bits. This can be looked up to obtain the enclosing subnet.

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

Field Documentation

◆ node

◆ parent

struct addr_tree_node* addr_tree_node::parent

parent in tree

Referenced by addr_tree_init_parents_node(), and addr_tree_lookup().

◆ addr

◆ addrlen

◆ net


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