class SessionInfo
Defined at line 4056 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
Session configuration.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::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).
Defined at line 4066 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_descriptors ()
Defined at line 4070 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::zx::vmo * mutable_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).
Defined at line 4078 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_descriptors ()
Defined at line 4086 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::DataVmo> & data ()
VMOs containing frame data. Required
Descriptors contain byte-offsets and vmo ids that are used to index regions
in data VMOs.
Defined at line 4098 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_data ()
Defined at line 4102 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::std::vector< ::fuchsia::hardware::network::DataVmo> * mutable_data ()
VMOs containing frame data. Required
Descriptors contain byte-offsets and vmo ids that are used to index regions
in data VMOs.
Defined at line 4110 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_data ()
Defined at line 4118 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const 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`.
Defined at line 4130 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_descriptor_version ()
Defined at line 4134 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint8_t * mutable_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`.
Defined at line 4142 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_descriptor_version ()
Defined at line 4150 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const 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.
Defined at line 4163 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_descriptor_length ()
Defined at line 4167 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint8_t * mutable_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.
Defined at line 4176 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_descriptor_length ()
Defined at line 4184 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const 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`).
Defined at line 4196 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_descriptor_count ()
Defined at line 4200 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
uint16_t * mutable_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`).
Defined at line 4208 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_descriptor_count ()
Defined at line 4216 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
const ::fuchsia::hardware::network::SessionFlags & options ()
Extra options. Interpreted as empty bitmask if absent.
Defined at line 4225 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
bool has_options ()
Defined at line 4229 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
::fuchsia::hardware::network::SessionFlags * mutable_options ()
Extra options. Interpreted as empty bitmask if absent.
Defined at line 4234 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
void clear_options ()
Defined at line 4242 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h
SessionInfo & set_descriptors (::zx::vmo _value)
SessionInfo & set_data (::std::vector< ::fuchsia::hardware::network::DataVmo> _value)
SessionInfo & set_descriptor_version (uint8_t _value)
SessionInfo & set_descriptor_length (uint8_t _value)
SessionInfo & set_descriptor_count (uint16_t _value)
SessionInfo & set_options (::fuchsia::hardware::network::SessionFlags _value)
void SessionInfo ()
void SessionInfo (SessionInfo && other)
void ~SessionInfo ()
SessionInfo & operator= (SessionInfo && other)
::std::unique_ptr<SessionInfo> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,SessionInfo *_value,size_t_offset)
zx_status_t Clone (SessionInfo * _result)