net/netip.PrefixFrom
standard libraryThe 1319th most-called standard-library function by production calls. Called 851 times across 39 modules; 465 of those run outside tests and generated code.
- prod calls
- 465
- non-test, non-generated
- all calls
- 851
- total callsites
- modules
- 39
- distinct callers
- in loop
- 30%
- of prod calls
- in tests
- 45%
- 386 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into PrefixFrom from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 64 14%
- Cilium 53 11%
- Docker 14 3%
- Istio 8 2%
- Kubernetes 4 <1%
where it's called
Callsites in the wild
12 representative callsites of 851, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
docker/cli @v29.7.1+incompatible
in loop -
XTLS/Xray-core @v1.260327.0
in loop - in loop
- in loop
-
passteque/gluetun @v0.0.0-20260805014130-9b8939eb5b6f
in loop -
sagernet/tailscale @v1.102.1
in loop - in loop
-
siderolabs/talos @v1.13.8
cmd/talosctl/cmd/mgmt/cluster/internal/firewallpatch/firewallpatch.go:27 ↗
in loop -
slackhq/nebula @v1.11.0
in loop -
xtls/xray-core @v1.260327.0
in loop -
golang.zx2c4.com/wireguard @v0.0.0-20260522210424-ecfc5a8d5446
device/allowedips.go:220
in loop
top callers
The modules that reach for it
The modules that call PrefixFrom most in this snapshot.
- github.com/cilium/cilium11514%
- github.com/sagernet/tailscale10612%
- github.com/tailscale/tailscale10612%
- tailscale.com10612%
- github.com/passteque/gluetun8510%
siblings
More from net/netip
The other most-called functions in this package. See all →