diff options
author | Daniel Mack <github@zonque.org> | 2015-07-15 17:27:35 -0400 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-07-15 17:27:35 -0400 |
commit | 42921716a4d693cd72044b3626a7e87210d72eb3 (patch) | |
tree | 415cb60c2839f6dd1e020613faa8febb4ada252e /src/resolve/resolved-dns-rr.h | |
parent | 7ee7b225bd2fc3e7a3980f5fb7b10dfc6e205578 (diff) | |
parent | 5d45a8808431987c370706d365fb0cc95cf03d52 (diff) |
Merge pull request #588 from teg/resolved-nsec
resolved: add basic NSEC and NSEC3 support
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r-- | src/resolve/resolved-dns-rr.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index b375d6b9fc..bdd5a5c824 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -23,6 +23,7 @@ #include <netinet/in.h> +#include "bitmap.h" #include "hashmap.h" #include "in-addr-util.h" #include "dns-type.h" @@ -145,6 +146,22 @@ struct DnsResourceRecord { void *signature; size_t signature_size; } rrsig; + + struct { + char *next_domain_name; + Bitmap *types; + } nsec; + + struct { + uint8_t algorithm; + uint8_t flags; + uint16_t iterations; + void *salt; + size_t salt_size; + void *next_hashed_name; + size_t next_hashed_name_size; + Bitmap *types; + } nsec3; }; }; |