template <typename RxDescriptor>

class Device

Defined at line 80 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.h

This is a templated implementation of the driver to allow different behavior for different

generations of chips without resorting to virtual calls or function pointers.

Public Methods

const adapter * Adapter ()

Defined at line 91 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.h

adapter * Adapter ()

Defined at line 92 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.h

void Device<RxDescriptor> (Driver & driver, std::unique_ptr<adapter> && adapter, std::unique_ptr<compat::SyncInitializedDeviceServer> && compat_server)

Defined at line 326 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

zx::result<> Start ()

Defined at line 643 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void PrepareStop (fdf::PrepareStopCompleter completer)

Defined at line 808 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void Init (fuchsia_hardware_network_driver::wire::NetworkDeviceImplInitRequest * request, fdf::Arena & arena, InitCompleter::Sync & completer)

NetworkDeviceImpl implementation

Defined at line 1140 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void Start (fdf::Arena & arena, StartCompleter::Sync & completer)

Defined at line 1165 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void Stop (fdf::Arena & arena, StopCompleter::Sync & completer)

Defined at line 1204 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void GetInfo (fdf::Arena & arena, fdf::WireServer<fuchsia_hardware_network_driver::NetworkDeviceImpl>::GetInfoCompleter::Sync & completer)

Defined at line 1231 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void QueueTx (fuchsia_hardware_network_driver::wire::NetworkDeviceImplQueueTxRequest * request, fdf::Arena & arena, QueueTxCompleter::Sync & completer)

Defined at line 1251 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void QueueRxSpace (fuchsia_hardware_network_driver::wire::NetworkDeviceImplQueueRxSpaceRequest * request, fdf::Arena & arena, QueueRxSpaceCompleter::Sync & completer)

Defined at line 1281 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void PrepareVmo (fuchsia_hardware_network_driver::wire::NetworkDeviceImplPrepareVmoRequest * request, fdf::Arena & arena, PrepareVmoCompleter::Sync & completer)

Defined at line 1300 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void ReleaseVmo (fuchsia_hardware_network_driver::wire::NetworkDeviceImplReleaseVmoRequest * request, fdf::Arena & arena, ReleaseVmoCompleter::Sync & completer)

Defined at line 1315 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void GetInfo (fdf::Arena & arena, fdf::WireServer<fuchsia_hardware_network_driver::NetworkPort>::GetInfoCompleter::Sync & completer)

NetworkPort protocol implementation.

Defined at line 1326 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void GetStatus (fdf::Arena & arena, GetStatusCompleter::Sync & completer)

Defined at line 1343 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void SetActive (fuchsia_hardware_network_driver::wire::NetworkPortSetActiveRequest * request, fdf::Arena & arena, SetActiveCompleter::Sync & completer)

Defined at line 1352 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void GetMac (fdf::Arena & arena, GetMacCompleter::Sync & completer)

Defined at line 1358 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void Removed (fdf::Arena & arena, RemovedCompleter::Sync & completer)

Defined at line 1370 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void GetAddress (fdf::Arena & arena, GetAddressCompleter::Sync & completer)

MacAddr protocol implementation.

Defined at line 1376 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void GetFeatures (fdf::Arena & arena, GetFeaturesCompleter::Sync & completer)

Defined at line 1383 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc

void SetMode (fuchsia_hardware_network_driver::wire::MacAddrSetModeRequest * request, fdf::Arena & arena, SetModeCompleter::Sync & completer)

Defined at line 1395 of file ../../zircon/third_party/dev/ethernet/e1000/fuchsia.cc