class SessionInfo

Defined at line 3828 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 3838 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 3842 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 3850 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 3858 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 3870 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 3874 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 3882 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 3890 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 3902 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 3906 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 3914 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 3922 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 3935 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 3939 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 3948 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 3956 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 3968 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 3972 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 3980 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 3988 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 3997 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 4001 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 4006 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 4014 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)