Struct smoltcp::phy::TapInterface [] [src]

pub struct TapInterface { /* fields omitted */ }

A virtual Ethernet interface.

Methods

impl TapInterface
[src]

Attaches to a TAP interface called name, or creates it if it does not exist.

If name is a persistent interface configured with UID of the current user, no special privileges are needed. Otherwise, this requires superuser privileges or a corresponding capability set on the executable.

Trait Implementations

impl Debug for TapInterface
[src]

Formats the value using the given formatter.

impl Device for TapInterface
[src]

Get maximum transmission unit. Read more

Receive a frame. Read more

Transmit a frame. Read more