gvisor.dev/gvisor/pkg/tcpip/stack.NewPacketBuffer
third-partyThe 8424th most-called third-party function by production calls. Called 305 times across 10 modules; 74 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of gvisor.dev/gvisor/pkg/tcpip/stack → Docs on pkg.go.dev ↗
- prod calls
- 74
- non-test, non-generated
- all calls
- 305
- total callsites
- modules
- 10
- distinct callers
- in loop
- 27%
- of prod calls
- in tests
- 76%
- 231 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 305, 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-20261130174204-4c7ed132a44d
in loop -
slackhq/nebula @v1.12.0
in loop -
xtls/xray-core @v1.260327.0
in loop -
golang.zx2c4.com/wireguard @v0.0.0-20261024220952-b3bc704ef0ee
tun/netstack/tun.go:144
in loop - in loop
- in loop
-
google/gvisor @v0.0.0-20261130174204-4c7ed132a44d
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call NewPacketBuffer most in this snapshot.
- github.com/google/gvisor25082%
- github.com/tailscale/tailscale196%
- tailscale.com196%
- github.com/BishopFox/sliver3<1%
- github.com/XTLS/Xray-core3<1%