Add read and write functions for TunInterface

This adds read and write functionality for TunInterface.
This commit is contained in:
JettChenT 2023-05-29 10:36:10 +08:00 committed by Conrad Kramer
parent 9aa1951575
commit 82c4d218d7
5 changed files with 105 additions and 4 deletions

View file

@ -9,6 +9,7 @@ fehler = "1.0"
nix = { version = "0.26", features = ["ioctl"] }
socket2 = "0.4"
tokio = { version = "1.28", features = [] }
byteorder = "1.4"
[target.'cfg(windows)'.dependencies]
lazy_static = "1.4"