blob: 9b13da7fad0b7fa2b9c6de5977908318a19185ae [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//go:build !build_with_native_toolchain
// +build !build_with_native_toolchain
package link
import "fidl/fuchsia/hardware/network"
type Controller interface {
Up() error
Down() error
SetPromiscuousMode(bool) error
DeviceClass() network.DeviceClass
}
type Observer interface {
SetOnLinkClosed(func())
SetOnLinkOnlineChanged(func(bool))
}