Expand description
Overlay ICMPv4 echo (ping) over a netstack Channel.
This is the raw-socket analogue of tsnet’s LocalClient.Ping: it opens a raw ICMP socket
on the overlay netstack, emits an ICMPv4 Echo Request to a peer’s tailnet IP, and waits for
the matching Echo Reply, returning the round-trip time.
Anti-leak: this rides the overlay netstack only (via the CreateSocket channel); it never
touches a host socket. ICMPv4 only — IPv6 is rejected (IPv6-off posture).
Enums§
- Ping
Error - Errors returned by [
ping].