X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fresolve%2Fresolved-dns-rr.h;h=3222f1f0ee1f8d698f65118228e9121a09c089cf;hb=bd8f65387673e29f46136a4ed172097035002c23;hp=20a344b8ca53c615ae832c56d3a52a2862d01bc3;hpb=7263f72499e962b3fd54cdb7c79d49ca72121ede;p=elogind.git diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index 20a344b8c..3222f1f0e 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -116,6 +116,29 @@ struct DnsResourceRecord { void *key; size_t key_size; } sshfp; + + /* http://tools.ietf.org/html/rfc4034#section-2.1 */ + struct { + bool zone_key_flag:1; + bool sep_flag:1; + uint8_t algorithm; + void* key; + size_t key_size; + } dnskey; + + /* http://tools.ietf.org/html/rfc4034#section-3.1 */ + struct { + uint16_t type_covered; + uint8_t algorithm; + uint8_t labels; + uint32_t original_ttl; + uint32_t expiration; + uint32_t inception; + uint16_t key_tag; + char *signer; + void *signature; + size_t signature_size; + } rrsig; }; };