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

Method LayersDecoder

parser.go:96–98  ·  view source on GitHub ↗

LayersDecoder implements DecodingLayerContainer interface.

(first LayerType, df DecodeFeedback)

Source from the content-addressed store, hash-verified

94
95// LayersDecoder implements DecodingLayerContainer interface.
96func (dl DecodingLayerSparse) LayersDecoder(first LayerType, df DecodeFeedback) DecodingLayerFunc {
97 return LayersDecoder(dl, first, df)
98}
99
100// Decoder implements DecodingLayerContainer interface.
101func (dl DecodingLayerSparse) Decoder(typ LayerType) (DecodingLayer, bool) {

Callers

nothing calls this directly

Calls 1

LayersDecoderFunction · 0.85

Tested by

no test coverage detected