net/netip.Addr.As4
standard libraryThe 2552nd most-called standard-library method by production calls. Called 390 times across 34 modules; 235 of those run outside tests and generated code.
- prod calls
- 235
- non-test, non-generated
- all calls
- 390
- total callsites
- modules
- 34
- distinct callers
- in loop
- 16%
- of prod calls
- in tests
- 40%
- 155 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 →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Addr.As4 from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 31 13%
- Cilium 29 12%
- Docker 4 2%
- Istio 4 2%
- Go (golang.org/x) 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 390, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
passteque/gluetun @v0.0.0-20260805014130-9b8939eb5b6f
in loop - in loop
- in loop
-
slackhq/nebula @v1.11.0
in loop -
golang.zx2c4.com/wireguard @v0.0.0-20260522210424-ecfc5a8d5446
device/sticky_linux.go:175
in loop -
istio/istio @v0.0.0-20260804075250-35fae141dc60
in loop - in loop
-
tailscale.com @v1.102.2
cmd/sniproxy/server.go:236
in loop -
istio.io/istio @v0.0.0-20260804075250-35fae141dc60
security/pkg/pki/util/san.go:83
in loop
top callers
The modules that reach for it
The modules that call Addr.As4 most in this snapshot.
- tailscale.com8121%
- github.com/sagernet/tailscale7218%
- github.com/tailscale/tailscale7218%
- github.com/cilium/cilium349%
- github.com/slackhq/nebula308%
siblings
More from net/netip
The other most-called members in this package. See all →