Index: net/dns/dns_protocol.h |
diff --git a/net/dns/dns_protocol.h b/net/dns/dns_protocol.h |
index 494429bde1dfc288e600046364f0b540728a7754..53998fc57ced3008610de824fc936ac82bb4d25d 100644 |
--- a/net/dns/dns_protocol.h |
+++ b/net/dns/dns_protocol.h |
@@ -75,7 +75,7 @@ namespace dns_protocol { |
// Used internally in DnsQuery and DnsResponseParser. |
struct NET_EXPORT_PRIVATE Header { |
uint16 id; |
- uint8 flags[2]; |
+ uint16 flags; |
uint16 qdcount; |
uint16 ancount; |
uint16 nscount; |
@@ -114,6 +114,10 @@ static const uint8 kRcodeNXDOMAIN = 3; |
static const uint8 kRcodeNOTIMP = 4; |
static const uint8 kRcodeREFUSED = 5; |
+// DNS flags. |
+static const uint16 kFlagRD = 0x100; |
+static const uint16 kFlagTC = 0x200; |
+ |
} // namespace dns_protocol |
} // namespace net |