gvisor.dev/gvisor/pkg/tcpip/stack.NewPacketBuffer
third-partyThe 7789th most-called third-party function by production calls. Called 257 times across 11 modules; 76 of those run outside tests and generated code.
All of gvisor.dev/gvisor/pkg/tcpip/stack → Docs on pkg.go.dev ↗
- prod calls
- 76
- non-test, non-generated
- all calls
- 257
- total callsites
- modules
- 11
- distinct callers
- in loop
- 24%
- of prod calls
- in tests
- 70%
- 181 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 function (by syntax)100%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into NewPacketBuffer from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 4 5%
where it's called
Callsites in the wild
12 representative callsites of 257, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
XTLS/Xray-core @v1.260327.0
in loop - in loop
-
google/gvisor @v0.0.0-20260805052044-b67f1412986c
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
tun/netstack/tun.go:144
in loop - in loop
- in loop
-
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop -
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop -
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop
top callers
The modules that reach for it
The modules that call NewPacketBuffer most in this snapshot.
- github.com/google/gvisor21584%
- github.com/sagernet/tailscale94%
- github.com/tailscale/tailscale94%
- tailscale.com94%
- github.com/XTLS/Xray-core31%