summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-05-25 13:21:32 +0200
committerMichael Adam <obnox@samba.org>2013-05-26 18:13:26 +0200
commit5bcebb54da8eed535e5f7034ed1f7a95456f19b1 (patch)
treea24f1dded082f932d6cdc4a136e1e5ae82fdf7fd /librpc/idl
parentc134171e39cbe5e788f075add32a4841451ab4de (diff)
downloadsamba-5bcebb54da8eed535e5f7034ed1f7a95456f19b1.tar.gz
samba-5bcebb54da8eed535e5f7034ed1f7a95456f19b1.tar.bz2
samba-5bcebb54da8eed535e5f7034ed1f7a95456f19b1.zip
idl: Add support for parsing OPT records
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/dns.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl
index 984f2b34a3..5b86f7e2de 100644
--- a/librpc/idl/dns.idl
+++ b/librpc/idl/dns.idl
@@ -106,6 +106,7 @@ interface dns
DNS_QTYPE_ATMA = 0x0022,
DNS_QTYPE_NAPTR = 0x0023,
DNS_QTYPE_DNAME = 0x0027,
+ DNS_QTYPE_OPT = 0x0029,
DNS_QTYPE_DS = 0x002B,
DNS_QTYPE_RRSIG = 0x002E,
DNS_QTYPE_NSEC = 0x002F,
@@ -168,6 +169,12 @@ interface dns
} dns_srv_record;
typedef [public] struct {
+ uint16 option_code;
+ uint16 option_length;
+ uint8 option_data[option_length];
+ } dns_opt_record;
+
+ typedef [public] struct {
dns_string algorithm;
uint32 inception;
uint32 expiration;
@@ -216,6 +223,7 @@ interface dns
[case(DNS_QTYPE_TXT)] dns_txt_record txt_record;
[case(DNS_QTYPE_AAAA)] ipv6address ipv6_record;
[case(DNS_QTYPE_SRV)] dns_srv_record srv_record;
+ [case(DNS_QTYPE_OPT)] dns_opt_record opt_record;
[case(DNS_QTYPE_TSIG)] dns_tsig_record tsig_record;
[case(DNS_QTYPE_TKEY)] dns_tkey_record tkey_record;
[default];