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

TypeAlias DecodingLayerMap

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

DecodingLayerMap is an map-based implementation of DecodingLayerContainer. Each DecodingLayer is searched in a map hashed by LayerType value.

Source from the content-addressed store, hash-verified

145// DecodingLayerContainer. Each DecodingLayer is searched in a map
146// hashed by LayerType value.
147type DecodingLayerMap map[LayerType]DecodingLayer
148
149// Put implements DecodingLayerContainer interface.
150func (dl DecodingLayerMap) Put(d DecodingLayer) DecodingLayerContainer {

Calls

no outgoing calls

Tested by

no test coverage detected