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 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 | |
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().