class SessionInfo
Defined at line 3792 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.
void SessionInfo ()
void SessionInfo (SessionInfo && other)
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 3802 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 3806 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 3814 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 3822 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.
For Rx VMOs managed by the device interface, VMOs are committed in ID order.
Defined at line 3836 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 3840 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.
For Rx VMOs managed by the device interface, VMOs are committed in ID order.
Defined at line 3850 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 3858 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 3870 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 3874 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 3882 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 3890 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 3903 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 3907 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 3916 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 3924 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 3936 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 3940 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 3948 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 3956 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 3965 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 3969 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 3974 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 3982 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 ()
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)