class EthernetFeatures

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

Ethernet frame sub-types and features.

|EthernetFeatures| is strict, hence is guaranteed to only contain

members defined in the FIDL schema when receiving it in a message.

Sending unknown members will fail at runtime.

Public Members

static EthernetFeatures kRaw
static EthernetFeatures kEthernetIi
static EthernetFeatures kE8021Q
static EthernetFeatures kE8021QInQ
static EthernetFeatures kE8023LlcSnap
static EthernetFeatures kMask

Public Methods

void EthernetFeatures ()

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

void EthernetFeatures (uint32_t value)

Constructs an instance of |EthernetFeatures| from an underlying primitive value,

preserving any bit member not defined in the FIDL schema.

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

uint32_t operator unsigned int ()

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

bool operator bool ()

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

bool operator== (const EthernetFeatures & other)

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

bool operator!= (const EthernetFeatures & other)

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

std::optional<EthernetFeatures> TryFrom (uint32_t value)

Constructs an instance of |EthernetFeatures| from an underlying primitive value

if the primitive does not contain any unknown members not defined in the

FIDL schema. Otherwise, returns |std::nullopt|.

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

EthernetFeatures TruncatingUnknown (uint32_t value)

Constructs an instance of |EthernetFeatures| from an underlying primitive value,

clearing any bit member not defined in the FIDL schema.

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

EthernetFeatures operator~ ()

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

EthernetFeatures operator| (const EthernetFeatures & other)

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

EthernetFeatures operator& (const EthernetFeatures & other)

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

EthernetFeatures operator^ (const EthernetFeatures & other)

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

EthernetFeatures operator- (const EthernetFeatures & other)

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

void operator|= (const EthernetFeatures & other)

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

void operator&= (const EthernetFeatures & other)

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

void operator^= (const EthernetFeatures & other)

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

void operator-= (const EthernetFeatures & other)

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