OpenDNSSEC-signer
1.4.1
|
#include "config.h"
#include "shared/log.h"
#include "signer/denial.h"
#include "signer/domain.h"
#include "signer/zone.h"
Go to the source code of this file.
Macros | |
#define | SE_MAX_RRTYPE_COUNT 65536 |
Functions | |
denial_type * | denial_create (void *zoneptr, ldns_rdf *dname) |
void | denial_diff (denial_type *denial) |
void | denial_add_rr (denial_type *denial, ldns_rr *rr) |
void | denial_nsecify (denial_type *denial, denial_type *nxt, uint32_t *num_added) |
void | denial_print (FILE *fd, denial_type *denial, ods_status *status) |
void | denial_cleanup (denial_type *denial) |
void denial_add_rr | ( | denial_type * | denial, |
ldns_rr * | rr | ||
) |
Add NSEC(3) to the Denial of Existence data point.
Definition at line 265 of file denial.c.
References denial_struct::bitmap_changed, denial_diff(), signconf_struct::nsec3params, denial_struct::nxt_changed, ods_fatal_exit(), ods_log_assert, rr_struct::owner, rr_struct::rr, denial_struct::rrset, rrset_add_rr(), rrset_create(), zone_struct::signconf, and denial_struct::zone.
Referenced by backup_read_namedb(), and denial_nsecify().
void denial_cleanup | ( | denial_type * | denial | ) |
Cleanup Denial of Existence data point.
Definition at line 355 of file denial.c.
References zone_struct::allocator, allocator_deallocate(), denial_struct::dname, denial_struct::rrset, rrset_cleanup(), and denial_struct::zone.
Referenced by namedb_add_denial().
denial_type* denial_create | ( | void * | zoneptr, |
ldns_rdf * | dname | ||
) |
Create new Denial of Existence data point.
Definition at line 50 of file denial.c.
References zone_struct::allocator, allocator_alloc(), denial_struct::bitmap_changed, denial_struct::dname, denial_struct::domain, denial_struct::node, denial_struct::nxt_changed, ods_log_error(), denial_struct::rrset, and denial_struct::zone.
Referenced by namedb_add_denial().
void denial_diff | ( | denial_type * | denial | ) |
Apply differences at denial.
Definition at line 251 of file denial.c.
References denial_struct::rrset, and rrset_diff().
Referenced by denial_add_rr().
void denial_nsecify | ( | denial_type * | denial, |
denial_type * | nxt, | ||
uint32_t * | num_added | ||
) |
Nsecify Denial of Existence data point.
Definition at line 302 of file denial.c.
References denial_struct::bitmap_changed, zone_struct::default_ttl, denial_add_rr(), zone_struct::klass, signconf_struct::nsec3params, denial_struct::nxt_changed, ods_fatal_exit(), ods_log_assert, zone_struct::signconf, and denial_struct::zone.
Referenced by namedb_nsecify().
void denial_print | ( | FILE * | fd, |
denial_type * | denial, | ||
ods_status * | status | ||
) |
Print Denial of Existence data point.
Definition at line 333 of file denial.c.
References ods_log_crit(), ODS_STATUS_ASSERT_ERR, denial_struct::rrset, and rrset_print().
Referenced by domain_print().