class TxFlags

Defined at line 249 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 251 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 256 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 265 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 271 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 275 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 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

bool operator!= (const TxFlags & other)

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

TxFlags operator~ ()

Defined at line 301 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 305 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 310 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 315 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 320 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 325 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 330 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h