class SessionInfo

Defined at line 2109 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

Session configuration.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_network::wire::SessionInfo> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_network::wire::SessionInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_network::wire::SessionInfo>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_network::wire::SessionInfo>> && frame_ptr)
void SessionInfo ()

Defined at line 2111 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

void SessionInfo (const SessionInfo & other)

Defined at line 2112 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

void SessionInfo (SessionInfo && other)

Defined at line 2114 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

void _CloseHandles ()
::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).

bool has_descriptors ()
::zx::vmo & data ()

VMO containing frame data. Required.

Descriptors contain byte-offsets that are used to index arbitrary

regions in `data`.

bool has_data ()
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`.

bool has_descriptor_version ()
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.

bool has_descriptor_length ()
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`).

bool has_descriptor_count ()
SessionInfo & operator= (const SessionInfo & other)

Defined at line 2113 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

SessionInfo & operator= (SessionInfo && other)

Defined at line 2115 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

::fuchsia_hardware_network::wire::SessionFlags & options ()

Extra options. Interpreted as empty bitmask if absent.

bool has_options ()
SessionInfo & set_descriptors (::zx::vmo elem)
SessionInfo & clear_descriptors ()
SessionInfo & set_data (::zx::vmo elem)
SessionInfo & clear_data ()
SessionInfo & set_descriptor_version (uint8_t elem)
SessionInfo & clear_descriptor_version ()
SessionInfo & set_descriptor_length (uint8_t elem)
SessionInfo & clear_descriptor_length ()
SessionInfo & set_descriptor_count (uint16_t elem)
SessionInfo & clear_descriptor_count ()
SessionInfo & set_options (::fuchsia_hardware_network::wire::SessionFlags elem)
SessionInfo & clear_options ()
void SessionInfo (::fidl::AnyArena & allocator)
void SessionInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_network::wire::SessionInfo>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void ~SessionInfo ()

Defined at line 2117 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder