class DeviceBaseInfo

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

Network device base info.

Public Methods

void DeviceBaseInfo ()

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

void DeviceBaseInfo (DeviceBaseInfo && )

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

void DeviceBaseInfo (Storage_ storage)
void DeviceBaseInfo (const DeviceBaseInfo & other)
DeviceBaseInfo & operator= (const DeviceBaseInfo & other)
bool operator== (const DeviceBaseInfo & other)
bool operator!= (const DeviceBaseInfo & other)
bool IsEmpty ()
const std::optional<uint16_t> & rx_depth ()

Maximum number of items in rx FIFO (per session). Required.

`rx_depth` is calculated based on the size of the actual backing

hardware rx queue.

::std::optional<uint16_t> & rx_depth ()

Maximum number of items in rx FIFO (per session). Required.

`rx_depth` is calculated based on the size of the actual backing

hardware rx queue.

DeviceBaseInfo & rx_depth (std::optional<uint16_t> value)

Maximum number of items in rx FIFO (per session). Required.

`rx_depth` is calculated based on the size of the actual backing

hardware rx queue.

const std::optional<uint16_t> & tx_depth ()

Maximum number of items in tx FIFO (per session). Required.

`tx_depth` is calculated based on the size of the actual backing

hardware tx queue.

::std::optional<uint16_t> & tx_depth ()

Maximum number of items in tx FIFO (per session). Required.

`tx_depth` is calculated based on the size of the actual backing

hardware tx queue.

DeviceBaseInfo & tx_depth (std::optional<uint16_t> value)

Maximum number of items in tx FIFO (per session). Required.

`tx_depth` is calculated based on the size of the actual backing

hardware tx queue.

const std::optional<uint32_t> & buffer_alignment ()

Alignment requirement for buffers in the data VMO.

All buffers in the data VMO *must* be aligned to `buffer_alignment`

relative to the start of the VMO. `buffer_alignment == 0` is never

reported. Required.

::std::optional<uint32_t> & buffer_alignment ()

Alignment requirement for buffers in the data VMO.

All buffers in the data VMO *must* be aligned to `buffer_alignment`

relative to the start of the VMO. `buffer_alignment == 0` is never

reported. Required.

DeviceBaseInfo & buffer_alignment (std::optional<uint32_t> value)

Alignment requirement for buffers in the data VMO.

All buffers in the data VMO *must* be aligned to `buffer_alignment`

relative to the start of the VMO. `buffer_alignment == 0` is never

reported. Required.

const std::optional<uint32_t> & max_buffer_length ()

Maximum supported length of buffers in the data VMO, in bytes.

Absent if no maximum buffer length is defined. Must be nonzero.

::std::optional<uint32_t> & max_buffer_length ()

Maximum supported length of buffers in the data VMO, in bytes.

Absent if no maximum buffer length is defined. Must be nonzero.

DeviceBaseInfo & max_buffer_length (std::optional<uint32_t> value)

Maximum supported length of buffers in the data VMO, in bytes.

Absent if no maximum buffer length is defined. Must be nonzero.

const std::optional<uint32_t> & min_rx_buffer_length ()

The minimum rx buffer length required for device. Required.

::std::optional<uint32_t> & min_rx_buffer_length ()

The minimum rx buffer length required for device. Required.

DeviceBaseInfo & min_rx_buffer_length (std::optional<uint32_t> value)

The minimum rx buffer length required for device. Required.

const std::optional<uint32_t> & min_tx_buffer_length ()

The minimum tx buffer length required for the device. Required.

This value accounts only for tx payload length, `min_tx_buffer_head` and

`min_tx_buffer_tail` are not part of this value.

Clients must zero pad outgoing frames to meet the required minimum

length.

::std::optional<uint32_t> & min_tx_buffer_length ()

The minimum tx buffer length required for the device. Required.

This value accounts only for tx payload length, `min_tx_buffer_head` and

`min_tx_buffer_tail` are not part of this value.

Clients must zero pad outgoing frames to meet the required minimum

length.

DeviceBaseInfo & min_tx_buffer_length (std::optional<uint32_t> value)

The minimum tx buffer length required for the device. Required.

This value accounts only for tx payload length, `min_tx_buffer_head` and

`min_tx_buffer_tail` are not part of this value.

Clients must zero pad outgoing frames to meet the required minimum

length.

const std::optional<uint16_t> & min_tx_buffer_head ()

The number of bytes the device requests be free as `head` space in a tx

buffer. Required.

::std::optional<uint16_t> & min_tx_buffer_head ()

The number of bytes the device requests be free as `head` space in a tx

buffer. Required.

DeviceBaseInfo & min_tx_buffer_head (std::optional<uint16_t> value)

The number of bytes the device requests be free as `head` space in a tx

buffer. Required.

const std::optional<uint16_t> & min_tx_buffer_tail ()

The amount of bytes the device requests be free as `tail` space in a tx

buffer. Required.

::std::optional<uint16_t> & min_tx_buffer_tail ()

The amount of bytes the device requests be free as `tail` space in a tx

buffer. Required.

DeviceBaseInfo & min_tx_buffer_tail (std::optional<uint16_t> value)

The amount of bytes the device requests be free as `tail` space in a tx

buffer. Required.

const std::optional<uint8_t> & max_buffer_parts ()

Maximum descriptor chain length accepted by the device. Required.

::std::optional<uint8_t> & max_buffer_parts ()

Maximum descriptor chain length accepted by the device. Required.

DeviceBaseInfo & max_buffer_parts (std::optional<uint8_t> value)

Maximum descriptor chain length accepted by the device. Required.

DeviceBaseInfo & operator= (DeviceBaseInfo && )

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

const std::optional< ::std::vector< ::fuchsia_hardware_network::RxAcceleration>> & rx_accel ()

Available rx acceleration flags for this device.

`rx_accel` maps the `RX_ACCEL_*` flags in the frame descriptors with

semantic acceleration features described by [`RxAcceleration`]. Position

`n` of `rx_accel` conveys the meaning of the `RX_ACCEL_n` flag.

Interpreted as empty if not provided.

::std::optional< ::std::vector< ::fuchsia_hardware_network::RxAcceleration>> & rx_accel ()

Available rx acceleration flags for this device.

`rx_accel` maps the `RX_ACCEL_*` flags in the frame descriptors with

semantic acceleration features described by [`RxAcceleration`]. Position

`n` of `rx_accel` conveys the meaning of the `RX_ACCEL_n` flag.

Interpreted as empty if not provided.

DeviceBaseInfo & rx_accel (std::optional< ::std::vector< ::fuchsia_hardware_network::RxAcceleration>> value)

Available rx acceleration flags for this device.

`rx_accel` maps the `RX_ACCEL_*` flags in the frame descriptors with

semantic acceleration features described by [`RxAcceleration`]. Position

`n` of `rx_accel` conveys the meaning of the `RX_ACCEL_n` flag.

Interpreted as empty if not provided.

const std::optional< ::std::vector< ::fuchsia_hardware_network::TxAcceleration>> & tx_accel ()

Available tx acceleration flags for this device.

`tx_accel` maps the `TX_ACCEL_*` flags in the frame descriptors with

semantic acceleration features described by [`TxAcceleration`]. Position

`n` of `tx_accel` conveys the meaning of the `TX_ACCEL_n` flag.

Interpreted as empty if not provided.

::std::optional< ::std::vector< ::fuchsia_hardware_network::TxAcceleration>> & tx_accel ()

Available tx acceleration flags for this device.

`tx_accel` maps the `TX_ACCEL_*` flags in the frame descriptors with

semantic acceleration features described by [`TxAcceleration`]. Position

`n` of `tx_accel` conveys the meaning of the `TX_ACCEL_n` flag.

Interpreted as empty if not provided.

DeviceBaseInfo & tx_accel (std::optional< ::std::vector< ::fuchsia_hardware_network::TxAcceleration>> value)

Available tx acceleration flags for this device.

`tx_accel` maps the `TX_ACCEL_*` flags in the frame descriptors with

semantic acceleration features described by [`TxAcceleration`]. Position

`n` of `tx_accel` conveys the meaning of the `TX_ACCEL_n` flag.

Interpreted as empty if not provided.

void DeviceBaseInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits