OpenDNSSEC-signer
1.3.4
|
#include "config.h"
#include "shared/allocator.h"
#include "signer/nsec3params.h"
#include "signer/rrset.h"
#include <ldns/ldns.h>
Go to the source code of this file.
Data Structures | |
struct | denial_struct |
Typedefs | |
typedef struct denial_struct | denial_type |
Functions | |
denial_type * | denial_create (ldns_rdf *owner) |
ods_status | denial_nsecify (denial_type *denial, denial_type *nxt, uint32_t ttl, ldns_rr_class klass) |
ods_status | denial_nsecify3 (denial_type *denial, denial_type *nxt, uint32_t ttl, ldns_rr_class klass, nsec3params_type *nsec3params) |
void | denial_cleanup (denial_type *denial) |
typedef struct denial_struct denial_type |
void denial_cleanup | ( | denial_type * | denial | ) |
Clean up Denial of Existence data point.
[in] | denial | Denial of Existence data point |
Clean up Denial of Existence data point.
Definition at line 445 of file denial.c.
References denial_struct::allocator, allocator_cleanup(), allocator_deallocate(), denial_struct::owner, denial_struct::rrset, and rrset_cleanup().
Referenced by zonedata_add_denial().
denial_type* denial_create | ( | ldns_rdf * | owner | ) |
Create new Denial of Existence data point.
[in] | owner | owner name of the NSEC or NSEC3 RRset |
Create new Denial of Existence data point.
Definition at line 53 of file denial.c.
References denial_struct::allocator, allocator_alloc(), allocator_cleanup(), allocator_create(), denial_struct::bitmap_changed, denial_struct::domain, denial_struct::nxt_changed, ods_log_assert, ods_log_error(), denial_struct::owner, and denial_struct::rrset.
Referenced by domain_recover(), and zonedata_add_denial().
ods_status denial_nsecify | ( | denial_type * | denial, |
denial_type * | nxt, | ||
uint32_t | ttl, | ||
ldns_rr_class | klass | ||
) |
Add NSEC to the Denial of Existence data point.
[in] | denial | Denial of Existence data point |
[in] | nxt | next Denial of Existence data point |
[in] | ttl | ttl |
[in] | klass | class |
Add NSEC to the Denial of Existence data point.
Definition at line 196 of file denial.c.
References denial_struct::bitmap_changed, denial_struct::nxt_changed, ods_log_alert(), ods_log_assert, ods_log_error(), ODS_STATUS_ASSERT_ERR, ODS_STATUS_ERR, ODS_STATUS_OK, denial_struct::rrset, rrset_add_rr(), rrset_commit(), rrset_create(), and rrset_wipe_out().
Referenced by zonedata_nsecify().
ods_status denial_nsecify3 | ( | denial_type * | denial, |
denial_type * | nxt, | ||
uint32_t | ttl, | ||
ldns_rr_class | klass, | ||
nsec3params_type * | nsec3params | ||
) |
Add NSEC3 to the Denial of Existence data point.
[in] | denial | Denial of Existence data point |
[in] | nxt | next Denial of Existence data point |
[in] | ttl | ttl |
[in] | klass | class |
[in] | nsec3params | NSEC3 parameters |
Add NSEC3 to the Denial of Existence data point.
Definition at line 375 of file denial.c.
References denial_struct::bitmap_changed, denial_struct::nxt_changed, ods_log_alert(), ods_log_assert, ods_log_error(), ODS_STATUS_ASSERT_ERR, ODS_STATUS_ERR, ODS_STATUS_OK, denial_struct::rrset, rrset_add_rr(), rrset_commit(), rrset_create(), and rrset_wipe_out().
Referenced by zonedata_nsecify3().