MCPcopy Index your code
hub / github.com/celzero/firestack / Ping

Method Ping

intra/icmp.go:51–153  ·  view source on GitHub ↗

Ping implements netstack.GICMPHandler. Takes ownership of msg. Nb: to send icmp pings, root access is required; and so, send "unprivileged" icmp pings via udp reqs; which do work on Vanilla Android, because ping_group_range is set to 0 2147483647 ref: cs.android.com/android/platform/superproject/+/m

(msg []byte, source, target netip.AddrPort)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

DialerMethod · 0.95
ViaIDFunction · 0.92
EEFunction · 0.92
IFunction · 0.92
CloseFunction · 0.92
IsNilFunction · 0.92
OneErrFunction · 0.92
AwaitFunction · 0.92
EchoFunction · 0.92
FmtPeriodFunction · 0.92
filterFamilyForDialingFunction · 0.85
oneRealIPPortFunction · 0.85

Tested by

no test coverage detected