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.
- TunTap
Device - 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.