class MacAddrDeviceInterface
Defined at line 19 of file ../../src/connectivity/network/drivers/network-device/mac/public/network_mac.h
Public Methods
void Create (fdf::WireSharedClient<fuchsia_hardware_network_driver::MacAddr> parent, OnCreated && on_created)
Creates a new MacAddrDeviceInterface that is bound to the provided parent. The creation process
will make asynchronous calls into the provided parent and the resulting object will be returned
asynchronously through a callback. Note that on an error the callback may be (but is not
guaranteed to be) called inline from the Create call. Because of this it's a good idea to avoid
acquiring locks in the on_created callback when an error is reported.
Defined at line 15 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc
zx_status_t Bind (async_dispatcher_t * dispatcher, fidl::ServerEnd<netdev::MacAddressing> req)
Binds the request channel req to this MacAddrDeviceInterface. Requests will be handled on the
provided dispatcher.
void Teardown (fit::callback<void ()> callback)
Tears down this device, closing all bound FIDL clients.
It is safe to destroy this `MacAddrDeviceInterface` instance only once the callback is invoked.
void ~MacAddrDeviceInterface ()
Defined at line 23 of file ../../src/connectivity/network/drivers/network-device/mac/public/network_mac.h
Protected Methods
void MacAddrDeviceInterface ()
Defined at line 43 of file ../../src/connectivity/network/drivers/network-device/mac/public/network_mac.h