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

pub struct TapInterface { /* fields omitted */ }

A virtual Ethernet interface.

Methods

impl TapInterface
[src]

[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]

[src]

Formats the value using the given formatter.

impl AsRawFd for TapInterface
[src]

[src]

Extracts the raw file descriptor. Read more

impl Device for TapInterface
[src]

[src]

Get a description of device limitations.

[src]

Receive a frame. Read more

[src]

Transmit a frame. Read more