|
unbound 0.1
|
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 | |
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.
| rbnode_type addr_tree_node::node |
rbtree node, key is this struct : proto and subnet
Referenced by acl_list_insert(), addr_tree_find(), addr_tree_init_parents_node(), addr_tree_insert(), addr_tree_lookup(), allow_proxy_tree_insert(), donotq_insert(), name_tree_insert(), respip_sockaddr_find_or_create(), rpz_clientip_remove_trigger_rr(), and tcl_list_insert().
| struct addr_tree_node* addr_tree_node::parent |
parent in tree
Referenced by addr_tree_init_parents_node(), and addr_tree_lookup().
| union addr_tree_addr addr_tree_node::addr |
address, addrlen is at most sizeof(union addr_tree_addr)
Referenced by addr_tree_addrport_compare(), addr_tree_compare(), addr_tree_find(), addr_tree_init_parents_node(), addr_tree_insert(), addr_tree_lookup(), allow_proxy_check_incoming_proxy(), allow_proxy_tree_insert(), donotq_insert(), populate_action_info(), read_addrs(), respip_enter_rr(), and respip_rewrite_reply().
| socklen_t addr_tree_node::addrlen |
length of addr
Referenced by addr_tree_addrport_compare(), addr_tree_compare(), addr_tree_find(), addr_tree_init_parents_node(), addr_tree_insert(), addr_tree_lookup(), allow_proxy_check_incoming_proxy(), allow_proxy_tree_insert(), donotq_insert(), populate_action_info(), read_addrs(), and respip_rewrite_reply().
| int addr_tree_node::net |
netblock size
Referenced by addr_tree_compare(), addr_tree_find(), addr_tree_init_parents_node(), addr_tree_insert(), addr_tree_lookup(), allow_proxy_tree_insert(), donotq_insert(), populate_action_info(), read_addrs(), and respip_rewrite_reply().