OpenDNSSEC-signer  1.4.6
Macros | Functions
xfrd.c File Reference
#include "config.h"
#include "daemon/engine.h"
#include "daemon/xfrhandler.h"
#include "shared/duration.h"
#include "shared/file.h"
#include "shared/log.h"
#include "shared/status.h"
#include "shared/util.h"
#include "signer/backup.h"
#include "signer/domain.h"
#include "signer/zone.h"
#include "wire/tcpset.h"
#include "wire/xfrd.h"
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for xfrd.c:

Go to the source code of this file.

Macros

#define XFRD_TSIG_MAX_UNSIGNED   100
 

Functions

xfrd_typexfrd_create (void *xfrhandler, void *zone)
 
void xfrd_set_timer_now (xfrd_type *xfrd)
 
void xfrd_set_timer_retry (xfrd_type *xfrd)
 
void xfrd_set_timer_refresh (xfrd_type *xfrd)
 
socklen_t xfrd_acl_sockaddr_to (acl_type *acl, struct sockaddr_storage *to)
 
void xfrd_cleanup (xfrd_type *xfrd, int backup)
 

Macro Definition Documentation

#define XFRD_TSIG_MAX_UNSIGNED   100

Zone transfers.

Definition at line 49 of file xfrd.c.

Function Documentation

socklen_t xfrd_acl_sockaddr_to ( acl_type acl,
struct sockaddr_storage *  to 
)

Use acl address to setup remote sockaddr struct.

Definition at line 558 of file xfrd.c.

References DNS_PORT_STRING, and acl_struct::port.

void xfrd_cleanup ( xfrd_type xfrd,
int  backup 
)
xfrd_type* xfrd_create ( void *  xfrhandler,
void *  zone 
)
void xfrd_set_timer_now ( xfrd_type xfrd)

Set timeout for zone transfer to now.

Definition at line 472 of file xfrd.c.

References zone_struct::name, ods_log_debug(), xfrd_struct::xfrhandler, and xfrd_struct::zone.

void xfrd_set_timer_refresh ( xfrd_type xfrd)

Set timeout for zone transfer to REFRESH.

Definition at line 510 of file xfrd.c.

References zone_struct::name, ods_log_debug(), soa_struct::refresh, xfrd_struct::soa, xfrd_struct::xfrhandler, and xfrd_struct::zone.

void xfrd_set_timer_retry ( xfrd_type xfrd)

Set timeout for zone transfer to RETRY.

Definition at line 491 of file xfrd.c.

References zone_struct::name, ods_log_debug(), soa_struct::retry, xfrd_struct::soa, xfrd_struct::xfrhandler, and xfrd_struct::zone.