MCPcopy Index your code
hub / github.com/google/gopacket / SetErrorLayer

Method SetErrorLayer

packet.go:157–161  ·  view source on GitHub ↗
(l ErrorLayer)

Source from the content-addressed store, hash-verified

155}
156
157func (p *packet) SetErrorLayer(l ErrorLayer) {
158 if p.failure == nil {
159 p.failure = l
160 }
161}
162
163func (p *packet) AddLayer(l Layer) {
164 p.layers = append(p.layers, l)

Callers 1

addFinalDecodeErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected