Electroneum
nsec3_cached_hash Struct Reference

#include <val_nsec3.h>

Collaboration diagram for nsec3_cached_hash:

Public Attributes

rbnode_type node
 
struct ub_packed_rrset_keynsec3
 
int rr
 
uint8_tdname
 
size_t dname_len
 
uint8_thash
 
size_t hash_len
 
uint8_tb32
 
size_t b32_len
 

Detailed Description

The NSEC3 hash result storage. Consists of an rbtree, with these nodes in it. The nodes detail how a set of parameters (from nsec3 rr) plus a dname result in a hash.

Definition at line 228 of file val_nsec3.h.

Member Data Documentation

◆ b32

uint8_t* nsec3_cached_hash::b32

the hash result in base32 encoding

Definition at line 244 of file val_nsec3.h.

◆ b32_len

size_t nsec3_cached_hash::b32_len

length of base32 encoding (as a label)

Definition at line 246 of file val_nsec3.h.

◆ dname

uint8_t* nsec3_cached_hash::dname

the name to convert

Definition at line 236 of file val_nsec3.h.

◆ dname_len

size_t nsec3_cached_hash::dname_len

length of the dname

Definition at line 238 of file val_nsec3.h.

◆ hash

uint8_t* nsec3_cached_hash::hash

the hash result (not base32 encoded)

Definition at line 240 of file val_nsec3.h.

◆ hash_len

size_t nsec3_cached_hash::hash_len

length of hash in bytes

Definition at line 242 of file val_nsec3.h.

◆ node

rbnode_type nsec3_cached_hash::node

rbtree node, key is this structure

Definition at line 230 of file val_nsec3.h.

◆ nsec3

struct ub_packed_rrset_key* nsec3_cached_hash::nsec3

where are the parameters for conversion, in this rrset data

Definition at line 232 of file val_nsec3.h.

◆ rr

int nsec3_cached_hash::rr

where are the parameters for conversion, this RR number in data

Definition at line 234 of file val_nsec3.h.


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