Crate tun

Source

Structs§

AsyncDevice
An async TUN device wrapper around a TUN device.
Configuration
Configuration builder for a TUN interface.
Device
A TUN device using the wintun driver.
DeviceReader
DeviceWriter
PlatformConfig
Windows-only interface configuration.
Reader
Tun
TunPacketCodec
A TUN packet Encoder/Decoder.
Writer

Enums§

Error
Layer
TUN interface OSI layer of operation.

Constants§

DEFAULT_MTU
PACKET_INFORMATION_LENGTH

Traits§

AbstractDevice
A TUN abstract device interface.
ToAddress
Helper trait to convert things into IPv4 addresses.

Functions§

configure
create
Create a TUN device with the given name.
create_as_async
Create a TUN device with the given name.

Type Aliases§

BoxError
Result