chiark / gitweb /
networkd: add and expose per-link LLMNR config option
[elogind.git] / src / resolve / resolved-dns-rr.h
index 20a344b8ca53c615ae832c56d3a52a2862d01bc3..3222f1f0ee1f8d698f65118228e9121a09c089cf 100644 (file)
@@ -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;
         };
 };