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