perf(phantun) spawn multiple threads for UDP send/receive

This commit is contained in:
Datong Sun
2022-04-09 06:04:05 -07:00
parent dff0c4ca28
commit 35f7b35ff5
3 changed files with 167 additions and 69 deletions

View File

@@ -15,6 +15,7 @@ clap = { version = "3.0", features = ["cargo"] }
socket2 = { version = "0.4", features = ["all"] }
fake-tcp = { path = "../fake-tcp", version = "0.2" }
tokio = { version = "1.14", features = ["full"] }
tokio-util = "0.7"
log = "0.4"
pretty_env_logger = "0.4"
tokio-tun = "0.5"