Electroneum
val_neg_zone Struct Reference

#include <val_neg.h>

Collaboration diagram for val_neg_zone:

Public Attributes

rbnode_type node
 
uint8_tname
 
size_t len
 
int labs
 
struct val_neg_zoneparent
 
int count
 
int nsec3_hash
 
size_t nsec3_iter
 
uint8_tnsec3_salt
 
size_t nsec3_saltlen
 
rbtree_type tree
 
uint16_t dclass
 
uint8_t in_use
 

Detailed Description

Per Zone aggressive negative caching data.

Definition at line 94 of file val_neg.h.

Member Data Documentation

◆ count

int val_neg_zone::count

the number of elements, including this one and the ones whose parents (-parents) include this one, that are in_use No elements have a count of zero, those are removed.

Definition at line 110 of file val_neg.h.

◆ dclass

uint16_t val_neg_zone::dclass

class of node; host order

Definition at line 126 of file val_neg.h.

◆ in_use

uint8_t val_neg_zone::in_use

if this element is in use, boolean

Definition at line 128 of file val_neg.h.

◆ labs

int val_neg_zone::labs

labels in name

Definition at line 102 of file val_neg.h.

◆ len

size_t val_neg_zone::len

length of name

Definition at line 100 of file val_neg.h.

◆ name

uint8_t* val_neg_zone::name

name; the key

Definition at line 98 of file val_neg.h.

◆ node

rbnode_type val_neg_zone::node

rbtree node element, key is this struct: the name, class

Definition at line 96 of file val_neg.h.

◆ nsec3_hash

int val_neg_zone::nsec3_hash

if 0: NSEC zone, else NSEC3 hash algorithm in use

Definition at line 113 of file val_neg.h.

◆ nsec3_iter

size_t val_neg_zone::nsec3_iter

nsec3 iteration count in use

Definition at line 115 of file val_neg.h.

◆ nsec3_salt

uint8_t* val_neg_zone::nsec3_salt

nsec3 salt in use

Definition at line 117 of file val_neg.h.

◆ nsec3_saltlen

size_t val_neg_zone::nsec3_saltlen

length of salt in bytes

Definition at line 119 of file val_neg.h.

◆ parent

struct val_neg_zone* val_neg_zone::parent

pointer to parent zone in the negative cache

Definition at line 105 of file val_neg.h.

◆ tree

rbtree_type val_neg_zone::tree

tree of NSEC data for this zone, sorted canonical by NSEC owner name

Definition at line 123 of file val_neg.h.


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