chromium/services/network/public/mojom/network_interface.mojom

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module network.mojom;

import "services/network/public/mojom/ip_address.mojom";
import "services/network/public/mojom/network_change_manager.mojom";

// Mirror of net::NetworkInterface.
struct NetworkInterface {
  string name; string friendly_name;
  uint32 interface_index;
  ConnectionType type;
  IPAddress address;
  uint32 prefix_length;
  int32 ip_address_attributes;
  // Only EUI-48 addresses supported.
  array<uint8, 6>? mac_address;
};