class MacClientInstance

Defined at line 124 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 144 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.h

void MacClientInstance (MacInterface * parent, netdev::wire::MacFilterMode default_mode)

Defined at line 382 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc

void GetUnicastAddress (GetUnicastAddressCompleter::Sync & _completer)

Defined at line 326 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc

void SetMode (SetModeRequestView request, SetModeCompleter::Sync & _completer)

Defined at line 341 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc

void AddMulticastAddress (AddMulticastAddressRequestView request, AddMulticastAddressCompleter::Sync & _completer)

Defined at line 353 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc

void RemoveMulticastAddress (RemoveMulticastAddressRequestView request, RemoveMulticastAddressCompleter::Sync & _completer)

Defined at line 370 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 385 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 396 of file ../../src/connectivity/network/drivers/network-device/mac/mac_interface.cc