class NetdeviceMigrationTestHelper

Defined at line 31 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

Public Methods

void NetdeviceMigrationTestHelper (NetdeviceMigration & netdev)

Defined at line 33 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

bool IsTxStarted ()

Returns true iff the driver is ready to send frames.

Defined at line 35 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

bool IsRxStarted ()

Returns true iff the driver is ready to receive frames.

Defined at line 40 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

size_t netbuf_size ()

Defined at line 44 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

const netdev::DeviceImplInfo & Info ()

Defined at line 45 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

const fuchsia_hardware_network::PortBaseInfo & PortInfo ()

Defined at line 46 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

const std::array<uint8_t, 6U> & Mac ()

Defined at line 47 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

const zx::bti & Bti ()

Defined at line 48 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

template <typename T, typename F>
T WithRxSpaces (F fn)

Defined at line 50 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

template <typename T, typename F>
T WithVmoStore (F fn)

Defined at line 56 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc

template <typename T, typename F>
T WithNetbufPool (F fn)

Defined at line 62 of file ../../src/connectivity/ethernet/drivers/ethernet/netdevice-migration/unit-tests.cc