class SessionInfo

Defined at line 3753 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 3763 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 3767 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 3775 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 3783 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 3797 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 3801 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 3811 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 3819 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 3831 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 3835 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 3843 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 3851 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 3864 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 3868 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 3877 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 3885 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 3897 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 3901 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 3909 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 3917 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 3926 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 3930 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 3935 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 3943 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)