"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "nsd.h" between
nsd-4.3.6.tar.gz and nsd-4.3.7.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

nsd.h  (nsd-4.3.6):nsd.h  (nsd-4.3.7)
skipping to change at line 188 skipping to change at line 188
/* /*
* The handler for handling the commands from the child. * The handler for handling the commands from the child.
*/ */
struct netio_handler* handler; struct netio_handler* handler;
#ifdef BIND8_STATS #ifdef BIND8_STATS
stc_type query_count; stc_type query_count;
#endif #endif
}; };
#define NSD_COOKIE_HISTORY_SIZE 2
#define NSD_COOKIE_SECRET_SIZE 16
typedef struct cookie_secret cookie_secret_type;
struct cookie_secret {
/** cookie secret */
uint8_t cookie_secret[NSD_COOKIE_SECRET_SIZE];
};
/* NSD configuration and run-time variables */ /* NSD configuration and run-time variables */
typedef struct nsd nsd_type; typedef struct nsd nsd_type;
struct nsd struct nsd
{ {
/* /*
* Global region that is not deallocated until NSD shuts down. * Global region that is not deallocated until NSD shuts down.
*/ */
region_type *region; region_type *region;
/* Run-time variables */ /* Run-time variables */
skipping to change at line 308 skipping to change at line 317
char* zonestatfname[2]; char* zonestatfname[2];
/* size of the mmapped zone stat array (number of array entries) */ /* size of the mmapped zone stat array (number of array entries) */
size_t zonestatsize[2], zonestatdesired, zonestatsizenow; size_t zonestatsize[2], zonestatdesired, zonestatsizenow;
/* current zonestat array to use */ /* current zonestat array to use */
struct nsdst* zonestatnow; struct nsdst* zonestatnow;
#endif /* BIND8_STATS */ #endif /* BIND8_STATS */
#ifdef USE_DNSTAP #ifdef USE_DNSTAP
/* the dnstap collector process info */ /* the dnstap collector process info */
struct dt_collector* dt_collector; struct dt_collector* dt_collector;
/* the pipes from server processes to the dt_collector, /* the pipes from server processes to the dt_collector,
* arrays of size child_count. Kept open for (re-)forks. */ * arrays of size child_count * 2. Kept open for (re-)forks. */
int *dt_collector_fd_send, *dt_collector_fd_recv; int *dt_collector_fd_send, *dt_collector_fd_recv;
/* the pipes from server processes to the dt_collector. Initially
* these point halfway into dt_collector_fd_send, but during reload
* the pointer is swapped with dt_collector_fd_send in order to
* to prevent writing to the dnstap collector by old serve childs
* simultaneous with new serve childs. */
int *dt_collector_fd_swap;
#endif /* USE_DNSTAP */ #endif /* USE_DNSTAP */
/* ratelimit for errors, time value */ /* ratelimit for errors, time value */
time_t err_limit_time; time_t err_limit_time;
/* ratelimit for errors, packet count */ /* ratelimit for errors, packet count */
unsigned int err_limit_count; unsigned int err_limit_count;
/** do answer with server cookie when request contained cookie option */
int do_answer_cookie;
/** how many cookies are there in the cookies array */
size_t cookie_count;
/* keep track of the last `NSD_COOKIE_HISTORY_SIZE`
* cookies as per rfc requirement .*/
cookie_secret_type cookie_secrets[NSD_COOKIE_HISTORY_SIZE];
struct nsd_options* options; struct nsd_options* options;
#ifdef HAVE_SSL #ifdef HAVE_SSL
/* TLS specific configuration */ /* TLS specific configuration */
SSL_CTX *tls_ctx; SSL_CTX *tls_ctx;
#endif #endif
}; };
extern struct nsd nsd; extern struct nsd nsd;
 End of changes. 4 change blocks. 
1 lines changed or deleted 26 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)