class MacClientInstance
Defined at line 114 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.h
An instance representing a FIDL client to the MacAddressing server.
`MacClientInstance` keeps the state associated with the client and is responsible for fulfilling
FIDL requests.
Public Methods
const ClientState & state ()
Accesses the client state.
Client state must only be accessed under the parent's MacInterface lock.
Defined at line 134 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.h
void MacClientInstance (MacInterface * parent, netdev::wire::MacFilterMode default_mode)
Defined at line 342 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc
void GetUnicastAddress (GetUnicastAddressCompleter::Sync & _completer)
Defined at line 290 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc
void SetMode (SetModeRequestView request, SetModeCompleter::Sync & _completer)
Defined at line 305 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc
void AddMulticastAddress (AddMulticastAddressRequestView request, AddMulticastAddressCompleter::Sync & _completer)
Defined at line 316 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc
void RemoveMulticastAddress (RemoveMulticastAddressRequestView request, RemoveMulticastAddressCompleter::Sync & _completer)
Defined at line 331 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 client instance to serve FIDL requests from the provided request channel.
All requests will be operated on the provided dispatcher.
Defined at line 345 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc
void Unbind ()
Unbinds the client instance.
Once unbound it'll call `CloseClient` on its parent asynchronously.
Defined at line 356 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc