Ping is a request to start a ping of the given message size to the peer handling the given IP, then call cb with its ping latency & method. If size is zero too small, it is ignored. See tailscale.PingOpts for details.
(ip netip.Addr, pingType tailcfg.PingType, size int, cb func(*ipnstate.PingResult))
| 132 | // |
| 133 | // If size is zero too small, it is ignored. See tailscale.PingOpts for details. |
| 134 | Ping(ip netip.Addr, pingType tailcfg.PingType, size int, cb func(*ipnstate.PingResult)) |
| 135 | |
| 136 | // InstallCaptureHook registers a function to be called to capture |
| 137 | // packets traversing the data path. The hook can be uninstalled by |
no outgoing calls