Universal TunTap
A low level Rust library for Tun/Tap devices.
Usage
It simply provides more options to open Tun/Tap device files.
use tun;
let = new
.packet_info // Only available on Linux
.number
.open
.expect;
Support Platforms
OS | Status | Comment |
---|---|---|
Linux | musl is also supported | |
OpenBSD |