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

Method Decoder

parser.go:63–63  ·  view source on GitHub ↗

Decoder returns DecodingLayer to decode given LayerType and true if it was found. If no decoder found, return false.

(LayerType)

Source from the content-addressed store, hash-verified

61 // Decoder returns DecodingLayer to decode given LayerType and
62 // true if it was found. If no decoder found, return false.
63 Decoder(LayerType) (DecodingLayer, bool)
64 // LayersDecoder returns DecodingLayerFunc which decodes given
65 // packet, starting with specified LayerType and DecodeFeedback.
66 LayersDecoder(first LayerType, df DecodeFeedback) DecodingLayerFunc

Callers 1

LayersDecoderFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected