class WriteFrame

Defined at line 174 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/markers.h

Writes a frame to the device (data coming from network-end).

If the device was created with the

[`fuchsia.net.tun/DeviceConfig.blocking`] option set to `true`, calls to

`WriteFrame` block until there is one buffer available to fulfill the

request.

+ request `frame` inbound frame data and metadata.

* error `ZX_ERR_NOT_FOUND` if [`Frame.port`] references an unknown port.

* error `ZX_ERR_INVALID_ARGS` if `frame` is invalid.

* error `ZX_ERR_BAD_STATE` if the device is offline.

* error `ZX_ERR_NO_RESOURCES` if more than

[`fuchsia.net.tun/MAX_PENDING_OPERATIONS`] calls to `WriteFrame` are

pending.

* error `ZX_ERR_SHOULD_WAIT` if `blocking` is set to `false` and there

are no buffers available to fulfill the request.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal