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

Method LayersDecoder

parser.go:167–169  ·  view source on GitHub ↗

LayersDecoder implements DecodingLayerContainer interface.

(first LayerType, df DecodeFeedback)

Source from the content-addressed store, hash-verified

165
166// LayersDecoder implements DecodingLayerContainer interface.
167func (dl DecodingLayerMap) LayersDecoder(first LayerType, df DecodeFeedback) DecodingLayerFunc {
168 return LayersDecoder(dl, first, df)
169}
170
171// Static code check.
172var (

Callers

nothing calls this directly

Calls 1

LayersDecoderFunction · 0.85

Tested by

no test coverage detected