MCPcopy Index your code
hub / github.com/google/gopacket / LayersDecoder

Method LayersDecoder

parser.go:140–142  ·  view source on GitHub ↗

LayersDecoder implements DecodingLayerContainer interface.

(first LayerType, df DecodeFeedback)

Source from the content-addressed store, hash-verified

138
139// LayersDecoder implements DecodingLayerContainer interface.
140func (dl DecodingLayerArray) LayersDecoder(first LayerType, df DecodeFeedback) DecodingLayerFunc {
141 return LayersDecoder(dl, first, df)
142}
143
144// DecodingLayerMap is an map-based implementation of
145// DecodingLayerContainer. Each DecodingLayer is searched in a map

Callers

nothing calls this directly

Calls 1

LayersDecoderFunction · 0.85

Tested by

no test coverage detected