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

Method LinkLayer

packet.go:532–537  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

530 }
531}
532func (p *lazyPacket) LinkLayer() LinkLayer {
533 for p.link == nil && p.next != nil {
534 p.decodeNextLayer()
535 }
536 return p.link
537}
538func (p *lazyPacket) NetworkLayer() NetworkLayer {
539 for p.network == nil && p.next != nil {
540 p.decodeNextLayer()

Callers

nothing calls this directly

Calls 1

decodeNextLayerMethod · 0.95

Tested by

no test coverage detected