class DeviceBaseInfo
Defined at line 1168 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
Network device base info.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const 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.
Defined at line 1178 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_rx_depth ()
Defined at line 1182 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint16_t * mutable_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.
Defined at line 1190 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_rx_depth ()
Defined at line 1198 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_tx_depth ()
Defined at line 1214 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint16_t * mutable_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.
Defined at line 1222 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_tx_depth ()
Defined at line 1230 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const 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.
Defined at line 1243 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_buffer_alignment ()
Defined at line 1247 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint32_t * mutable_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.
Defined at line 1256 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_buffer_alignment ()
Defined at line 1264 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const 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.
Defined at line 1275 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_max_buffer_length ()
Defined at line 1279 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint32_t * mutable_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.
Defined at line 1286 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_max_buffer_length ()
Defined at line 1294 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const uint32_t & min_rx_buffer_length ()
The minimum rx buffer length required for device. Required.
Defined at line 1303 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_min_rx_buffer_length ()
Defined at line 1307 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint32_t * mutable_min_rx_buffer_length ()
The minimum rx buffer length required for device. Required.
Defined at line 1312 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_min_rx_buffer_length ()
Defined at line 1320 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const 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.
Defined at line 1335 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_min_tx_buffer_length ()
Defined at line 1339 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint32_t * mutable_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.
Defined at line 1350 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_min_tx_buffer_length ()
Defined at line 1358 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const uint16_t & min_tx_buffer_head ()
The number of bytes the device requests be free as `head` space in a tx
buffer. Required.
Defined at line 1368 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_min_tx_buffer_head ()
Defined at line 1372 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint16_t * mutable_min_tx_buffer_head ()
The number of bytes the device requests be free as `head` space in a tx
buffer. Required.
Defined at line 1378 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_min_tx_buffer_head ()
Defined at line 1386 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const uint16_t & min_tx_buffer_tail ()
The amount of bytes the device requests be free as `tail` space in a tx
buffer. Required.
Defined at line 1396 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_min_tx_buffer_tail ()
Defined at line 1400 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint16_t * mutable_min_tx_buffer_tail ()
The amount of bytes the device requests be free as `tail` space in a tx
buffer. Required.
Defined at line 1406 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_min_tx_buffer_tail ()
Defined at line 1414 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const uint8_t & max_buffer_parts ()
Maximum descriptor chain length accepted by the device. Required.
Defined at line 1423 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_max_buffer_parts ()
Defined at line 1427 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint8_t * mutable_max_buffer_parts ()
Maximum descriptor chain length accepted by the device. Required.
Defined at line 1432 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_max_buffer_parts ()
Defined at line 1440 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::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.
Defined at line 1455 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_rx_accel ()
Defined at line 1459 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::std::vector< ::fuchsia::hardware::network::RxAcceleration> * mutable_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.
Defined at line 1470 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_rx_accel ()
Defined at line 1478 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_tx_accel ()
Defined at line 1497 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::std::vector< ::fuchsia::hardware::network::TxAcceleration> * mutable_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.
Defined at line 1508 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_tx_accel ()
Defined at line 1516 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const uint16_t & min_rx_buffers ()
Minimum amount of Rx buffers the client needs to prepare for the
network device. Client should use this information to select its
VMO sizes if using multi-VMO support.
Defined at line 1527 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_min_rx_buffers ()
Defined at line 1531 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint16_t * mutable_min_rx_buffers ()
Minimum amount of Rx buffers the client needs to prepare for the
network device. Client should use this information to select its
VMO sizes if using multi-VMO support.
Defined at line 1538 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_min_rx_buffers ()
Defined at line 1546 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
DeviceBaseInfo & set_rx_depth (uint16_t _value)
DeviceBaseInfo & set_tx_depth (uint16_t _value)
DeviceBaseInfo & set_buffer_alignment (uint32_t _value)
DeviceBaseInfo & set_max_buffer_length (uint32_t _value)
DeviceBaseInfo & set_min_rx_buffer_length (uint32_t _value)
DeviceBaseInfo & set_min_tx_buffer_length (uint32_t _value)
DeviceBaseInfo & set_min_tx_buffer_head (uint16_t _value)
DeviceBaseInfo & set_min_tx_buffer_tail (uint16_t _value)
DeviceBaseInfo & set_max_buffer_parts (uint8_t _value)
DeviceBaseInfo & set_rx_accel (::std::vector< ::fuchsia::hardware::network::RxAcceleration> _value)
DeviceBaseInfo & set_tx_accel (::std::vector< ::fuchsia::hardware::network::TxAcceleration> _value)
DeviceBaseInfo & set_min_rx_buffers (uint16_t _value)
void DeviceBaseInfo ()
void DeviceBaseInfo (DeviceBaseInfo && other)
const 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.
Defined at line 1210 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::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.
Defined at line 1493 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void ~DeviceBaseInfo ()
DeviceBaseInfo & operator= (DeviceBaseInfo && other)
::std::unique_ptr<DeviceBaseInfo> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,DeviceBaseInfo *_value,size_t_offset)
zx_status_t Clone (DeviceBaseInfo * _result)