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

Function TrimmedClone

intra/core/pcap.go:67–77  ·  view source on GitHub ↗

trimmedClone clones the packet buffer to not modify the original. It trims anything before the network header.

(pkt *stack.PacketBuffer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

LogPacketFunction · 0.92
MarshalBinaryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected