Project: /_project.yaml Book: /_book.yaml

fuchsia.hardware.ethertap

PROTOCOLS

TapDevice {:#TapDevice}

Defined in fuchsia.hardware.ethertap/ethertap.fidl

Provides control over the created tap device. The lifetime of the device itself is tied to the channel over which this protocol is served, closing a TapDevice channel will trigger the destruction and deallocation of the underlying tap device.

WriteFrame {:#WriteFrame}

Writes data to the tap device. If device is offline, data will just be discarded.

Request

OnFrame {:#OnFrame}

Triggered when data is sent on this tap device.

Response

SetOnline {:#SetOnline}

Sets online status of ethertap device.

Request

OnReportParams {:#OnReportParams}

If OPT_REPORT_PARAM is set on options, calls to EthernetImplcSetParam will be routed to this event, containing the set parameters request arguments.

Response

TapControl {:#TapControl}

Defined in fuchsia.hardware.ethertap/ethertap.fidl

Ethertap driver interface.

OpenDevice {:#OpenDevice}

Opens a named device with given name and config. name is only used for debugging purposes. If config is not valid or the tap device could not be created, an error status is returned and no device is created.

Request

Response

STRUCTS

Config {:#Config}

Defined in fuchsia.hardware.ethertap/ethertap.fidl

Configuration of an ethertap device.

CONSTANTS