dns_adbentry Struct Reference

An address entry. It holds quite a bit of information about addresses, including edns state (in "flags"), rtt, and of course the address of the host. More...


Data Fields

unsigned int magic
int lock_bucket
unsigned int refcnt
unsigned int flags
unsigned int srtt
isc_uint16_t udpsize
unsigned char plain
unsigned char plainto
unsigned char edns
unsigned char to4096
unsigned char to1432
unsigned char to1232
unsigned char to512
isc_sockaddr_t sockaddr
unsigned char * sit
isc_uint16_t sitlen
isc_stdtime_t expires
isc_stdtime_t lastage
 A nonzero 'expires' field indicates that the entry should persist until that time. This allows entries found using dns_adb_findaddrinfo() to persist for a limited time even though they are not necessarily associated with a name.


Detailed Description

An address entry. It holds quite a bit of information about addresses, including edns state (in "flags"), rtt, and of course the address of the host.

Definition at line 236 of file adb.c.


Field Documentation

unsigned int dns_adbentry::magic

Definition at line 237 of file adb.c.

Referenced by free_adbentry(), and new_adbentry().

int dns_adbentry::lock_bucket

Definition at line 239 of file adb.c.

Referenced by clean_namehooks(), copy_namehook_lists(), dec_entry_refcnt(), dns_adb_adjustsrtt(), dns_adb_agesrtt(), dns_adb_changeflags(), dns_adb_ednsto(), dns_adb_freeaddrinfo(), dns_adb_getsit(), dns_adb_getudpsize(), dns_adb_marklame(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_probesize2(), dns_adb_setsit(), dns_adb_setudpsize(), dns_adb_timeout(), free_adbentry(), grow_entries(), inc_entry_refcnt(), link_entry(), new_adbentry(), and unlink_entry().

unsigned int dns_adbentry::refcnt

Definition at line 240 of file adb.c.

Referenced by check_expire_entry(), dec_entry_refcnt(), dump_adb(), dump_entry(), free_adbentry(), import_rdataset(), inc_entry_refcnt(), link_entry(), new_adbentry(), and shutdown_entries().

unsigned int dns_adbentry::flags

Definition at line 242 of file adb.c.

Referenced by dec_entry_refcnt(), dns_adb_changeflags(), dump_entry(), link_entry(), new_adbaddrinfo(), new_adbentry(), and unlink_entry().

unsigned int dns_adbentry::srtt

Definition at line 243 of file adb.c.

Referenced by adjustsrtt(), dump_entry(), new_adbaddrinfo(), and new_adbentry().

isc_uint16_t dns_adbentry::udpsize

Definition at line 244 of file adb.c.

Referenced by dns_adb_getudpsize(), dns_adb_probesize2(), dns_adb_setudpsize(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::plain

Definition at line 245 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::plainto

Definition at line 246 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::edns

Definition at line 247 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::to4096

Definition at line 248 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_probesize2(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::to1432

Definition at line 253 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_probesize2(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::to1232

Definition at line 254 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_probesize2(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

unsigned char dns_adbentry::to512

Definition at line 255 of file adb.c.

Referenced by dns_adb_ednsto(), dns_adb_noedns(), dns_adb_plainresponse(), dns_adb_setudpsize(), dns_adb_timeout(), dump_entry(), and new_adbentry().

isc_sockaddr_t dns_adbentry::sockaddr

Definition at line 256 of file adb.c.

Referenced by dns_adb_findaddrinfo(), dump_entry(), find_entry_and_lock(), grow_entries(), import_rdataset(), and new_adbaddrinfo().

unsigned char* dns_adbentry::sit

Definition at line 257 of file adb.c.

Referenced by dns_adb_getsit(), dns_adb_setsit(), dump_entry(), free_adbentry(), and new_adbentry().

isc_uint16_t dns_adbentry::sitlen

Definition at line 258 of file adb.c.

Referenced by dns_adb_getsit(), dns_adb_setsit(), dump_entry(), free_adbentry(), and new_adbentry().

isc_stdtime_t dns_adbentry::expires

Definition at line 260 of file adb.c.

Referenced by adjustsrtt(), check_expire_entry(), dec_entry_refcnt(), dns_adb_adjustsrtt(), dns_adb_changeflags(), dns_adb_freeaddrinfo(), dump_entry(), find_entry_and_lock(), new_adbentry(), and shutdown_entries().

isc_stdtime_t dns_adbentry::lastage

A nonzero 'expires' field indicates that the entry should persist until that time. This allows entries found using dns_adb_findaddrinfo() to persist for a limited time even though they are not necessarily associated with a name.

Definition at line 262 of file adb.c.

Referenced by adjustsrtt(), and new_adbentry().


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