Electroneum
packed_rrset_key Struct Reference

#include <packed_rrset.h>

Collaboration diagram for packed_rrset_key:

Public Attributes

uint8_tdname
 
size_t dname_len
 
uint32_t flags
 
uint16_t type
 
uint16_t rrset_class
 

Detailed Description

The identifying information for an RRset.

Definition at line 74 of file packed_rrset.h.

Member Data Documentation

◆ dname

uint8_t* packed_rrset_key::dname

The domain name. If not null (for id=0) it is allocated, and contains the wireformat domain name. This dname is not canonicalized.

Definition at line 80 of file packed_rrset.h.

◆ dname_len

size_t packed_rrset_key::dname_len

Length of the domain name, including last 0 root octet.

Definition at line 84 of file packed_rrset.h.

◆ flags

uint32_t packed_rrset_key::flags

Flags. 32bit to be easy for hashing: o PACKED_RRSET_NSEC_AT_APEX o PACKED_RRSET_PARENT_SIDE o PACKED_RRSET_SOA_NEG o PACKED_RRSET_FIXEDTTL (not supposed to be cached)

Definition at line 92 of file packed_rrset.h.

◆ rrset_class

uint16_t packed_rrset_key::rrset_class

the rrset class in network format

Definition at line 96 of file packed_rrset.h.

◆ type

uint16_t packed_rrset_key::type

the rrset type in network format

Definition at line 94 of file packed_rrset.h.


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