embassy-net-tuntap

Crates

git

Versions

default

Flavors

Crate embassy_net_tuntap

Source
Expand description

§embassy-net integration for Linux TUN/TAP interfaces.

embassy-net integration for for Linux TUN (IP medium) and TAP (Ethernet medium) interfaces.

§Interoperability

This crate can run on any executor.

Structs§

TunTap
A TUN/TAP device.
TunTapDevice
A TUN/TAP device, wrapped in an async interface.

Constants§

IFF_NO_PI
No packet information.
IFF_TAP
TAP device.
SIOCGIFMTU
Get the MTU of the given interface.
TUNSETIFF
Set the interface flags.
_ETH_P_ALL
Capture all packages.
_IFF_TUN
TUN device.
_SIOCGIFINDEX
Get the index of the given interface.