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. More...
 
struct addredgeedge [2]
 A node can have 0-2 edges, set to NULL for unused.
 
struct addredgeparent_edge
 edge between this node and parent
 
struct addrnodeprev
 previous node in LRU list
 
struct addrnodenext
 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: