class SessionInfo

Defined at line 3771 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 3781 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 3785 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 3793 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 3801 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

const ::zx::vmo & data ()

VMO containing frame data. Required.

Descriptors contain byte-offsets that are used to index arbitrary

regions in `data`.

Defined at line 3813 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 3817 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

::zx::vmo * mutable_data ()

VMO containing frame data. Required.

Descriptors contain byte-offsets that are used to index arbitrary

regions in `data`.

Defined at line 3825 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 3833 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 3845 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 3849 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 3857 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 3865 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 3878 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 3882 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 3891 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 3899 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 3911 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 3915 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 3923 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 3931 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 3940 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 3944 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 3949 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 3957 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 (::zx::vmo _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)