class TxFlags

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

Flags set by a Client when handing a buffer to a device on the tx path.

Set by Clients on the `inbound_flags` field of a tx descriptor.

|TxFlags| is flexible, hence may contain unknown members not

defined in the FIDL schema.

Public Members

static TxFlags COMPUTE_GENERIC_CHECKSUM
static TxFlags kMask

Public Methods

void TxFlags ()

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

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

Constructs an instance of |TxFlags| 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 255 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

TxFlags TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

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

void TxFlags (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

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

uint32_t operator unsigned int ()

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

bool operator bool ()

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

bool operator== (const TxFlags & other)

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

bool operator!= (const TxFlags & other)

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

TxFlags unknown_bits ()

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

bool has_unknown_bits ()

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

TxFlags operator~ ()

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

TxFlags operator| (const TxFlags & other)

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

TxFlags operator& (const TxFlags & other)

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

TxFlags operator^ (const TxFlags & other)

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

void operator|= (const TxFlags & other)

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

void operator&= (const TxFlags & other)

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

void operator^= (const TxFlags & other)

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