Index: net/interfaces/ip_address.mojom |
diff --git a/net/interfaces/ip_address.mojom b/net/interfaces/ip_address.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..012b81c4342424297d54c8eb7994f806992a6bab |
--- /dev/null |
+++ b/net/interfaces/ip_address.mojom |
@@ -0,0 +1,12 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module net.interfaces; |
+ |
+// Mirror of net::IPAddress. |
+struct IPAddress { |
+ // IP address as a numeric value from most to least significant byte. |
+ // Will be of length 4 for IPv4 addresses and 16 for IPv6. |
+ array<uint8> address; |
+}; |