Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: pkg/mdns/lib/src/constants.dart

Issue 1411063006: Update the mDNS native extension for Mac OS to handle PTR and SRV records (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Addressed review comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/mdns/lib/native/libmdns_extension_lib.dylib.sha1 ('k') | pkg/mdns/lib/src/native_extension_client.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mdns/lib/src/constants.dart
diff --git a/pkg/mdns/lib/src/constants.dart b/pkg/mdns/lib/src/constants.dart
index a94aa6c01c4c4d50ce5073d9d5345350fbfc42de..2d0e03b7de81b89ca1799648bb77d91742215629 100644
--- a/pkg/mdns/lib/src/constants.dart
+++ b/pkg/mdns/lib/src/constants.dart
@@ -19,6 +19,8 @@ const int arcountOffset = 10;
const int headerSize = 12;
+const int srvHeaderSize = 6;
+
const int responseFlags = 0x8400;
class RRType {
« no previous file with comments | « pkg/mdns/lib/native/libmdns_extension_lib.dylib.sha1 ('k') | pkg/mdns/lib/src/native_extension_client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698