network: implement icmp nat support

This commit is contained in:
Alex Zenla
2024-02-10 21:13:47 +00:00
parent 4f0e505e2b
commit efe425b346
10 changed files with 470 additions and 105 deletions

View File

@ -18,8 +18,6 @@ udp-stream = { workspace = true }
smoltcp = { workspace = true }
etherparse = { workspace = true }
async-trait = { workspace = true }
async-ping = { workspace = true }
icmp-client = { workspace = true }
[dependencies.advmac]
path = "../libs/advmac"
@ -30,3 +28,7 @@ path = "src/lib.rs"
[[bin]]
name = "hyphanet"
path = "bin/network.rs"
[[example]]
name = "ping"
path = "examples/ping.rs"