class SessionInfo
Defined at line 2878 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
Session configuration.
Public Methods
void SessionInfo ()
Defined at line 2883 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
void SessionInfo (SessionInfo && )
Defined at line 2884 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
void SessionInfo (Storage_ storage)
bool IsEmpty ()
const std::optional< ::zx::vmo> & descriptors ()
VMO containing the descriptors. Required.
16-bit indices transmitted over the FIFOs index a descriptor in this VMO
(byte offset = descriptor_length * 8 * index).
::std::optional< ::zx::vmo> & descriptors ()
VMO containing the descriptors. Required.
16-bit indices transmitted over the FIFOs index a descriptor in this VMO
(byte offset = descriptor_length * 8 * index).
SessionInfo & descriptors (std::optional< ::zx::vmo> value)
VMO containing the descriptors. Required.
16-bit indices transmitted over the FIFOs index a descriptor in this VMO
(byte offset = descriptor_length * 8 * index).
const std::optional< ::zx::vmo> & data ()
VMO containing frame data. Required.
Descriptors contain byte-offsets that are used to index arbitrary
regions in `data`.
::std::optional< ::zx::vmo> & data ()
VMO containing frame data. Required.
Descriptors contain byte-offsets that are used to index arbitrary
regions in `data`.
SessionInfo & data (std::optional< ::zx::vmo> value)
VMO containing frame data. Required.
Descriptors contain byte-offsets that are used to index arbitrary
regions in `data`.
const std::optional<uint8_t> & descriptor_version ()
Requested descriptor version. Required.
If the network device does not support the requested descriptor version,
[`Device.OpenSession`] fails with `ZX_ERR_NOT_SUPPORTED`.
::std::optional<uint8_t> & descriptor_version ()
Requested descriptor version. Required.
If the network device does not support the requested descriptor version,
[`Device.OpenSession`] fails with `ZX_ERR_NOT_SUPPORTED`.
SessionInfo & descriptor_version (std::optional<uint8_t> value)
Requested descriptor version. Required.
If the network device does not support the requested descriptor version,
[`Device.OpenSession`] fails with `ZX_ERR_NOT_SUPPORTED`.
const std::optional<uint8_t> & descriptor_length ()
Descriptor length, in 64-bit words. Required.
The length of each descriptor in the `descriptors` VMO. This is used as
a multiplier to find byte offsets in `descriptors` given a descriptor
index passed through the rx or tx FIFOs.
::std::optional<uint8_t> & descriptor_length ()
Descriptor length, in 64-bit words. Required.
The length of each descriptor in the `descriptors` VMO. This is used as
a multiplier to find byte offsets in `descriptors` given a descriptor
index passed through the rx or tx FIFOs.
SessionInfo & descriptor_length (std::optional<uint8_t> value)
Descriptor length, in 64-bit words. Required.
The length of each descriptor in the `descriptors` VMO. This is used as
a multiplier to find byte offsets in `descriptors` given a descriptor
index passed through the rx or tx FIFOs.
const std::optional<uint16_t> & descriptor_count ()
Total number of descriptors that can be used by this session. Required.
Descriptor indices transferred through either the rx or tx FIFO must be
in the range [0, `descriptor_count`).
::std::optional<uint16_t> & descriptor_count ()
Total number of descriptors that can be used by this session. Required.
Descriptor indices transferred through either the rx or tx FIFO must be
in the range [0, `descriptor_count`).
SessionInfo & descriptor_count (std::optional<uint16_t> value)
Total number of descriptors that can be used by this session. Required.
Descriptor indices transferred through either the rx or tx FIFO must be
in the range [0, `descriptor_count`).
SessionInfo & operator= (SessionInfo && )
Defined at line 2885 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
const std::optional< ::fuchsia_hardware_network::SessionFlags> & options ()
Extra options. Interpreted as empty bitmask if absent.
::std::optional< ::fuchsia_hardware_network::SessionFlags> & options ()
Extra options. Interpreted as empty bitmask if absent.
SessionInfo & options (std::optional< ::fuchsia_hardware_network::SessionFlags> value)
Extra options. Interpreted as empty bitmask if absent.
void SessionInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits