wireguard-go/tun/netstack
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
..
examples tun/netstack: implement ICMP ping 2022-02-02 23:09:37 +01:00
go.mod global: use netip where possible now 2021-11-23 22:03:15 +01:00
go.sum global: use netip where possible now 2021-11-23 22:03:15 +01:00
tun.go tun/netstack: implement ICMP ping 2022-02-02 23:09:37 +01:00