wireguard-go/tun
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
..
netstack tun/netstack: implement ICMP ping 2022-02-02 23:09:37 +01:00
tuntest global: use netip where possible now 2021-11-23 22:03:15 +01:00
alignment_windows_test.go tun: format 2021-05-07 12:21:27 +02:00
operateonfd.go global: remove old-style build tags 2021-10-12 12:02:10 -06:00
tun_darwin.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun_freebsd.go tun: format 2021-05-07 12:21:27 +02:00
tun_linux.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun_openbsd.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun_windows.go global: apply gofumpt 2021-12-09 23:15:55 +01:00
tun.go global: bump copyright 2021-01-28 17:52:15 +01:00