summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-rr.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-30 15:04:56 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-30 15:04:56 +0100
commitdcabda41558bf80724992d3973388af6974af5eb (patch)
tree24fed07b4bfdb41c66c029fb21e6f4e262ca147c /src/resolve/resolved-dns-rr.h
parent132bdb0cf8eff3eba3092962b6d36e6c3e75da14 (diff)
parentc542f805ddc3ae28007c15827ef2e8a8247452bc (diff)
Merge pull request #2469 from keszybz/resolved-2
Resolved 2
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r--src/resolve/resolved-dns-rr.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h
index d9c31e81c5..37c4487332 100644
--- a/src/resolve/resolved-dns-rr.h
+++ b/src/resolve/resolved-dns-rr.h
@@ -129,7 +129,7 @@ struct DnsResourceRecord {
union {
struct {
void *data;
- size_t size;
+ size_t data_size;
} generic, opt;
struct {
@@ -242,6 +242,15 @@ struct DnsResourceRecord {
size_t next_hashed_name_size;
Bitmap *types;
} nsec3;
+
+ /* https://tools.ietf.org/html/draft-ietf-dane-protocol-23 */
+ struct {
+ uint8_t cert_usage;
+ uint8_t selector;
+ uint8_t matching_type;
+ void *data;
+ size_t data_size;
+ } tlsa;
};
};