wireguard-go/tun/netstack/examples
Thomas H. Ptacek b9669b734e tun/netstack: implement ICMP ping
Provide a PacketConn interface for netstack's ICMP endpoint; netstack
currently only provides EchoRequest/EchoResponse ICMP support, so this
code exposes only an interface for doing ping.

Signed-off-by: Thomas Ptacek <thomas@sockpuppet.org>
[Jason: rework structure, match std go interfaces, add example code]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-02-02 23:09:37 +01:00
..
http_client.go global: use netip where possible now 2021-11-23 22:03:15 +01:00
http_server.go global: use netip where possible now 2021-11-23 22:03:15 +01:00
ping_client.go tun/netstack: implement ICMP ping 2022-02-02 23:09:37 +01:00