class RxFidlReturn

Defined at line 92 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h

Public Methods

void RxFidlReturn ()

Defined at line 94 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h

void RxFidlReturn (RxFidlReturn && )

RxReturn can't be moved because it keeps pointers to the return buffer internally.

Defined at line 105 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h

void RxFidlReturn (std::unique_ptr<RxBuffer> buffer, uint8_t port_id)

Defined at line 106 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h

void PushPart (std::unique_ptr<RxBuffer> buffer)

Pushes buffer space into the return buffer.

NB: We don't really need the unique pointer here, we just copy the information we need. But

requiring the unique pointer to be passed enforces the buffer ownership semantics. Also

RxBuffers usually sit in the available queue as a pointer already.

Defined at line 116 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h

const fuchsia_hardware_network_driver::wire::RxBuffer & buffer ()

Defined at line 122 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h

fuchsia_hardware_network_driver::wire::RxBuffer & buffer ()

Defined at line 123 of file ../../src/connectivity/network/drivers/network-device/device/test_util.h