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

Method ApplicationLayer

packet.go:550–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

548 return p.transport
549}
550func (p *lazyPacket) ApplicationLayer() ApplicationLayer {
551 for p.application == nil && p.next != nil {
552 p.decodeNextLayer()
553 }
554 return p.application
555}
556func (p *lazyPacket) ErrorLayer() ErrorLayer {
557 for p.failure == nil && p.next != nil {
558 p.decodeNextLayer()

Callers

nothing calls this directly

Calls 1

decodeNextLayerMethod · 0.95

Tested by

no test coverage detected