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

Function LogPacket

intra/netstack/snooper.go:135–331  ·  view source on GitHub ↗

LogPacket logs a packet to stdout.

(prefix string, dir Direction, protocol tcpip.NetworkProtocolNumber, pkt *stack.PacketBuffer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DumpPacketMethod · 0.85

Calls 8

TrimmedCloneFunction · 0.92
IDMethod · 0.65
InfofMethod · 0.65
TypeMethod · 0.65
UDPMethod · 0.65
TCPMethod · 0.65
LinkAddressMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected