unbound: addrnode Struct Reference

unbound 0.1

Data Fields
addrnode Struct Reference

## Data Fields
void * | elem
| Payload of node, may be NULL.
time_t | ttl
| Abs time in seconds in which elem is meaningful.
addrlen_t | scope
| Number of significant bits in address.
int | only_match_scope_zero
| Only use the element for queries for subnet/0.
struct addredge * | edge [2]
| A node can have 0-2 edges, set to NULL for unused.
struct addredge * | parent_edge
| edge between this node and parent
struct addrnode * | prev
| previous node in LRU list
struct addrnode * | next
| next node in LRU list

## Field Documentation

## ◆ only_match_scope_zero

int addrnode::only_match_scope_zero

Only use the element for queries for subnet/0.

Set if the query for /0 was answered with scope 0. For query /x answer scope 0, they can match anything and this is false.

Referenced by addrtree_find(), addrtree_insert(), clean_node(), and node_create().

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

- edns-subnet/addrtree.h