naiveproxy/net/interfaces/ip_address.mojom

13 lines
407 B
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
// 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_bytes;
};