Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/gopacket
/ AddLayer
Method
AddLayer
packet.go:163–166 ·
view source on GitHub ↗
(l Layer)
Source
from the content-addressed store, hash-verified
161
}
162
163
func
(p *packet) AddLayer(l Layer) {
164
p.layers = append(p.layers, l)
165
p.last = l
166
}
167
168
func
(p *packet) DumpPacketData() {
169
fmt.Fprint(os.Stderr, p.packetDump())
Callers
1
addFinalDecodeError
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected