MCPcopy
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
163func (p *packet) AddLayer(l Layer) {
164 p.layers = append(p.layers, l)
165 p.last = l
166}
167
168func (p *packet) DumpPacketData() {
169 fmt.Fprint(os.Stderr, p.packetDump())

Callers 1

addFinalDecodeErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected