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

Method NextLayerType

layers/gre.go:193–195  ·  view source on GitHub ↗

NextLayerType returns the layer type contained by this DecodingLayer.

()

Source from the content-addressed store, hash-verified

191
192// NextLayerType returns the layer type contained by this DecodingLayer.
193func (g *GRE) NextLayerType() gopacket.LayerType {
194 return g.Protocol.LayerType()
195}
196
197func decodeGRE(data []byte, p gopacket.PacketBuilder) error {
198 g := &GRE{}

Callers

nothing calls this directly

Calls 1

LayerTypeMethod · 0.65

Tested by

no test coverage detected