class EthernetTx

Defined at line 217 of file fidling/gen/sdk/fidl/fuchsia.wlan.softmac/fuchsia.wlan.softmac/cpp/fidl/fuchsia.wlan.softmac/cpp/markers.h

Protocol for sending an Ethernet frame from the wlansoftmac driver to the bridged

wlansoftmac driver.

# Experimental

This protocol is implemented as a foreign function interface (FFI)

between the wlansoftmac driver and the bridged driver solely to improve

the performance of processing data frames through the wlan-mlme library.

# Safety

The `complete_borrowed_operation` field must be a function pointer of the type

void (*)(eth::BorrowedOperation

<

>*, zx_status_t) where the first argument

is the value of `borrowed_operation` field.

Calling `complete_borrowed_operation` will result in calling

`eth::BorrowedOperation

<

>::Complete()` to release ownership of the packet. This

must be called exactly once. Failing to call `complete_borrowed_operation`

will leak memory, and calling more than once will result in use-after-free.

Public Members

static Openness kOpenness

Records