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_nodeparent
 parent in tree
struct sockaddr_storage 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.

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