MCPcopy
hub / github.com/google/gopacket / ErrorLayer

Method ErrorLayer

packet.go:556–561  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

554 return p.application
555}
556func (p *lazyPacket) ErrorLayer() ErrorLayer {
557 for p.failure == nil && p.next != nil {
558 p.decodeNextLayer()
559 }
560 return p.failure
561}
562func (p *lazyPacket) Layers() []Layer {
563 for p.next != nil {
564 p.decodeNextLayer()

Callers

nothing calls this directly

Calls 1

decodeNextLayerMethod · 0.95

Tested by

no test coverage detected