rdatasetheader Struct Reference


Public Member Functions

 ISC_LINK (struct rdatasetheader) link
 ISC_LINK (struct rdatasetheader) link

Data Fields

dns_rdatatype_t type
dns_ttl_t ttl
dns_trust_t trust
dns_rdatatype_t covers
unsigned int attributes
rbtdb_serial_t serial
 Locked by the owning node's lock.
dns_ttl_t rdh_ttl
rbtdb_rdatatype_t type
isc_uint16_t attributes
struct noqnamenoqname
struct noqnameclosest
unsigned int is_mmapped: 1
unsigned int next_is_relative: 1
unsigned int node_is_relative: 1
 We don't use the LIST macros, because the LIST structure has both head and tail pointers, and is doubly linked.
struct rdatasetheadernext
 If this is the top header for an rdataset, 'next' points to the top header for the next rdataset (i.e., the next type). Otherwise, it points up to the header whose down pointer points at this header.
struct rdatasetheaderdown
 Points to the header for the next older version of this rdataset.
isc_uint32_t count
 Monotonously increased every time this rdataset is bound so that it is used as the base of the starting point in DNS responses when the "cyclic" rrset-order is required. Since the ordering should not be so crucial, no lock is set for the counter for performance reasons.
acachectl_tadditional_auth
acachectl_tadditional_glue
dns_rbtnode_tnode
isc_stdtime_t last_used
unsigned int heap_index
 Used for TTL-based cache cleaning.
isc_stdtime_t resign
 Case vector. If the bit is set then the corresponding character in the owner name needs to be AND'd with 0x20, rendering that character upper case.
unsigned char upper [32]

Detailed Description

Definition at line 69 of file ecdb.c.


Member Function Documentation

rdatasetheader::ISC_LINK ( struct  rdatasetheader  ) 

rdatasetheader::ISC_LINK ( struct  rdatasetheader  ) 


Field Documentation

dns_rdatatype_t rdatasetheader::type

Definition at line 70 of file ecdb.c.

Referenced by add32(), addrdataset(), bind_rdataset(), cache_find(), cache_findrdataset(), cache_findzonecut(), cache_zonecut_callback(), cname_and_other_data(), deleterdataset(), dns_rbtdb_create(), find_closest_nsec(), find_coveringnsec(), find_deepest_zonecut(), ISC_LIST(), loading_addrdataset(), matchparams(), need_headerupdate(), printnode(), rdatasetiter_next(), setnsec3parameters(), setup_delegation(), subtractrdataset(), update_rrsetstats(), zone_find(), zone_findrdataset(), and zone_zonecut_callback().

dns_ttl_t rdatasetheader::ttl

Definition at line 71 of file ecdb.c.

Referenced by addrdataset(), and bind_rdataset().

dns_trust_t rdatasetheader::trust

Definition at line 72 of file ecdb.c.

Referenced by add32(), addrdataset(), bind_rdataset(), cache_find(), cache_zonecut_callback(), deleterdataset(), loading_addrdataset(), need_headerupdate(), printnode(), rdataset_settrust(), and subtractrdataset().

dns_rdatatype_t rdatasetheader::covers

Definition at line 73 of file ecdb.c.

Referenced by add32(), addrdataset(), bind_rdataset(), and rdatasetiter_next().

unsigned int rdatasetheader::attributes

Definition at line 74 of file ecdb.c.

Referenced by addrdataset(), clean_cache_node(), deleterdataset(), free_rdataset(), ISC_LIST(), loading_addrdataset(), mark_stale_header(), need_headerupdate(), printnode(), rdataset_clearprefetch(), rdatasetiter_next(), rollback_node(), setownercase(), setsigningtime(), and subtractrdataset().

rbtdb_serial_t rdatasetheader::serial

Locked by the owning node's lock.

Definition at line 407 of file rbtdb.c.

Referenced by activeempty(), activeemtpynode(), add32(), addrdataset(), clean_zone_node(), closeversion(), cname_and_other_data(), deleterdataset(), find_closest_nsec(), find_wildcard(), loading_addrdataset(), printnode(), rbt_datafixer(), rbt_datawriter(), rdatasetiter_first(), rdatasetiter_next(), rollback_node(), setnsec3parameters(), subtractrdataset(), zone_find(), zone_findrdataset(), and zone_zonecut_callback().

dns_ttl_t rdatasetheader::rdh_ttl

Definition at line 408 of file rbtdb.c.

Referenced by add32(), addrdataset(), bind_rdataset(), cache_find(), cache_findrdataset(), cache_findzonecut(), cache_zonecut_callback(), expirenode(), find_coveringnsec(), find_deepest_zonecut(), new_rdataset(), overmem_purge(), printnode(), rdatasetiter_first(), rdatasetiter_next(), set_ttl(), subtractrdataset(), and ttl_sooner().

rbtdb_rdatatype_t rdatasetheader::type

Definition at line 409 of file rbtdb.c.

isc_uint16_t rdatasetheader::attributes

Definition at line 410 of file rbtdb.c.

struct noqname* rdatasetheader::noqname [read]

Definition at line 412 of file rbtdb.c.

Referenced by addnoqname(), addrdataset(), bind_rdataset(), deleterdataset(), free_rdataset(), loading_addrdataset(), and subtractrdataset().

struct noqname* rdatasetheader::closest [read]

Definition at line 413 of file rbtdb.c.

Referenced by addclosest(), addrdataset(), bind_rdataset(), deleterdataset(), free_rdataset(), loading_addrdataset(), rdataset_getclosest(), and subtractrdataset().

unsigned int rdatasetheader::is_mmapped

Definition at line 414 of file rbtdb.c.

Referenced by init_rdataset(), and rbt_datafixer().

unsigned int rdatasetheader::next_is_relative

Definition at line 415 of file rbtdb.c.

Referenced by init_rdataset(), rbt_datafixer(), rbt_datawriter(), and update_newheader().

unsigned int rdatasetheader::node_is_relative

We don't use the LIST macros, because the LIST structure has both head and tail pointers, and is doubly linked.

Definition at line 417 of file rbtdb.c.

Referenced by init_rdataset(), rbt_datafixer(), rbt_datawriter(), and update_newheader().

struct rdatasetheader* rdatasetheader::next [read]

If this is the top header for an rdataset, 'next' points to the top header for the next rdataset (i.e., the next type). Otherwise, it points up to the header whose down pointer points at this header.

Definition at line 422 of file rbtdb.c.

Referenced by activeempty(), activeemtpynode(), add32(), cache_find(), cache_findrdataset(), cache_findzonecut(), cache_zonecut_callback(), clean_cache_node(), clean_zone_node(), cname_and_other_data(), delete_callback(), expirenode(), find_closest_nsec(), find_coveringnsec(), find_deepest_zonecut(), find_wildcard(), printnode(), rbt_datafixer(), rbt_datawriter(), rdatasetiter_first(), rdatasetiter_next(), rollback_node(), setnsec3parameters(), subtractrdataset(), update_newheader(), zone_find(), zone_findrdataset(), and zone_zonecut_callback().

struct rdatasetheader* rdatasetheader::down [read]

Points to the header for the next older version of this rdataset.

Definition at line 430 of file rbtdb.c.

Referenced by add32(), clean_stale_headers(), clean_zone_node(), cname_and_other_data(), find_closest_nsec(), printnode(), rbt_datawriter(), rdatasetiter_first(), rdatasetiter_next(), rollback_node(), setnsec3parameters(), subtractrdataset(), zone_find(), zone_findrdataset(), and zone_zonecut_callback().

isc_uint32_t rdatasetheader::count

Monotonously increased every time this rdataset is bound so that it is used as the base of the starting point in DNS responses when the "cyclic" rrset-order is required. Since the ordering should not be so crucial, no lock is set for the counter for performance reasons.

Definition at line 437 of file rbtdb.c.

Referenced by acache_callback(), addrdataset(), bind_rdataset(), cleanup_dead_nodes(), deleterdataset(), free_acachearray(), hashsize(), ISC_LIST(), loading_addrdataset(), matchparams(), nodecount(), rdataset_count(), rdataset_first(), rdataset_getadditional(), rdataset_next(), rdataset_putadditional(), rdataset_setadditional(), setnsec3parameters(), subtractrdataset(), and valid_glue().

acachectl_t* rdatasetheader::additional_auth

Definition at line 445 of file rbtdb.c.

Referenced by addrdataset(), deleterdataset(), free_rdataset(), loading_addrdataset(), rdataset_getadditional(), rdataset_putadditional(), rdataset_setadditional(), and subtractrdataset().

acachectl_t* rdatasetheader::additional_glue

Definition at line 446 of file rbtdb.c.

Referenced by addrdataset(), deleterdataset(), free_rdataset(), loading_addrdataset(), rdataset_getadditional(), rdataset_putadditional(), rdataset_setadditional(), and subtractrdataset().

dns_rbtnode_t* rdatasetheader::node

Definition at line 448 of file rbtdb.c.

Referenced by activeempty(), activeemtpynode(), add32(), add_empty_wildcards(), add_wildcard_magic(), addrdataset(), attachnode(), cache_find(), cache_findzonecut(), cleanup_dead_nodes(), closeversion(), dbiterator_current(), dbiterator_seek(), delete_callback(), deleterdataset(), dereference_iter_node(), detachnode(), expire_header(), find_closest_nsec(), find_coveringnsec(), find_wildcard(), findnodeintree(), flush_deletions(), free_rbtdb(), free_rdataset(), getsigningtime(), ISC_LIST(), loading_addrdataset(), loadnode(), mark_stale_header(), prune_tree(), rbt_datafixer(), rbt_datawriter(), rdataset_clone(), rdataset_disassociate(), rdataset_getclosest(), rdataset_getnoqname(), reference_iter_node(), resign_delete(), resigned(), set_ttl(), setnsec3parameters(), setsigningtime(), setup_delegation(), subtractrdataset(), update_header(), update_newheader(), and zone_find().

isc_stdtime_t rdatasetheader::last_used

Definition at line 449 of file rbtdb.c.

Referenced by addrdataset(), deleterdataset(), loading_addrdataset(), need_headerupdate(), subtractrdataset(), and update_header().

unsigned int rdatasetheader::heap_index

Used for TTL-based cache cleaning.

Definition at line 453 of file rbtdb.c.

Referenced by free_rdataset(), init_rdataset(), resign_delete(), resign_insert(), resigned(), set_index(), set_ttl(), and setsigningtime().

isc_stdtime_t rdatasetheader::resign

Case vector. If the bit is set then the corresponding character in the owner name needs to be AND'd with 0x20, rendering that character upper case.

Definition at line 457 of file rbtdb.c.

Referenced by addrdataset(), bind_rdataset(), getsigningtime(), loading_addrdataset(), printnode(), rbt_datafixer(), resign_sooner(), setsigningtime(), and subtractrdataset().

unsigned char rdatasetheader::upper[32]

Definition at line 462 of file rbtdb.c.

Referenced by new_rdataset(), rdataset_getownercase(), setownercase(), and update_newheader().


The documentation for this struct was generated from the following files:
Generated on Tue Apr 28 17:41:21 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha