class TxBuffer

Defined at line 367 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h

A transmit buffer containing a single frame.

Public Methods

void TxBuffer (uint32_t id, ::std::vector< ::fuchsia_hardware_network_driver::BufferRegion> data, ::fuchsia_hardware_network_driver::BufferMetadata meta, uint16_t head_length, uint16_t tail_length)
void TxBuffer ()

Default constructs a |TxBuffer| only if all of its members are default constructible.

Defined at line 377 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h

void TxBuffer (TxBuffer && )

Defined at line 380 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h

void TxBuffer (Storage_ storage)
void TxBuffer (const TxBuffer & other)
TxBuffer & operator= (const TxBuffer & other)
bool operator== (const TxBuffer & other)
bool operator!= (const TxBuffer & other)
uint32_t id ()

Unique buffer identifier.

uint32_t & id ()

Unique buffer identifier.

TxBuffer & id (uint32_t value)

Unique buffer identifier.

const ::std::vector< ::fuchsia_hardware_network_driver::BufferRegion> & data ()

Regions of VMO holding frame data.

::std::vector< ::fuchsia_hardware_network_driver::BufferRegion> & data ()

Regions of VMO holding frame data.

TxBuffer & data (::std::vector< ::fuchsia_hardware_network_driver::BufferRegion> value)

Regions of VMO holding frame data.

const ::fuchsia_hardware_network_driver::BufferMetadata & meta ()

Metadata associated with this buffer.

::fuchsia_hardware_network_driver::BufferMetadata & meta ()

Metadata associated with this buffer.

TxBuffer & meta (::fuchsia_hardware_network_driver::BufferMetadata value)

Metadata associated with this buffer.

uint16_t head_length ()

Length of header bytes in the data contained in this buffer.

Will always be either 0 or the requested [`DeviceInfo.tx_head_length`]

value. The head bytes are always at the beginning of the buffer.

uint16_t & head_length ()

Length of header bytes in the data contained in this buffer.

Will always be either 0 or the requested [`DeviceInfo.tx_head_length`]

value. The head bytes are always at the beginning of the buffer.

TxBuffer & head_length (uint16_t value)

Length of header bytes in the data contained in this buffer.

Will always be either 0 or the requested [`DeviceInfo.tx_head_length`]

value. The head bytes are always at the beginning of the buffer.

TxBuffer & operator= (TxBuffer && )

Defined at line 381 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h

uint16_t tail_length ()

Length of tail bytes in the data contained in this buffer.

Will always be either 0 or the requested [`DeviceInfo.tx_tail_length`]

value. The tail bytes are always at the end of the buffer.

uint16_t & tail_length ()

Length of tail bytes in the data contained in this buffer.

Will always be either 0 or the requested [`DeviceInfo.tx_tail_length`]

value. The tail bytes are always at the end of the buffer.

TxBuffer & tail_length (uint16_t value)

Length of tail bytes in the data contained in this buffer.

Will always be either 0 or the requested [`DeviceInfo.tx_tail_length`]

value. The tail bytes are always at the end of the buffer.

void TxBuffer (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits